Skip to content

Commit

Permalink
Keep @inertiajs/core out of the bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Nov 6, 2024
1 parent 8f8b670 commit 8a87b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion react/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig({
fileName: 'inertiaui-modal',
},
rollupOptions: {
external: ['@inertiajs/react', 'react', 'react-dom', 'axios'],
external: ['@inertiajs/core', '@inertiajs/react', 'axios', 'react-dom', 'react'],
},
},
})
2 changes: 1 addition & 1 deletion vue/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default defineConfig({
fileName: 'inertiaui-modal',
},
rollupOptions: {
external: ['@inertiajs/vue3', 'vue', 'axios'],
external: ['@inertiajs/core', '@inertiajs/vue3', 'axios', 'vue'],
},
},
})

0 comments on commit 8a87b07

Please sign in to comment.