mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(build): set stencil extras config (#21877)
Stencil 2 will update the extras defaults to not include many of the polyfills and shims by default. Setting the configs here ensures they stay enabled so there isn't a breaking change for Ionic v5 users.
This commit is contained in:
@@ -121,6 +121,14 @@ export const config: Config = {
|
||||
]
|
||||
}
|
||||
],
|
||||
extras: {
|
||||
cssVarsShim: true,
|
||||
dynamicImportShim: true,
|
||||
initializeNextTick: true,
|
||||
safari10: true,
|
||||
scriptDataOpts: true,
|
||||
shadowDomShim: true,
|
||||
},
|
||||
testing: {
|
||||
allowableMismatchedPixels: 200,
|
||||
pixelmatchThreshold: 0.05,
|
||||
|
||||
Reference in New Issue
Block a user