mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore: externalize @stencil/core/internal/client
This commit is contained in:
@@ -19,14 +19,14 @@ export default defineConfig({
|
||||
optimizeDeps: {
|
||||
exclude: ['@ionic/react', '@ionic/react-router'],
|
||||
/**
|
||||
* ESM dependencies that have a CJS dependency need to
|
||||
* ESM dependencies that have a CJS dependency need to
|
||||
* include that dependency for optimization.
|
||||
*/
|
||||
include: ['@ionic/react > react-dom']
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ['@stencil/core'],
|
||||
external: ['@stencil/core/internal/client'],
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user