From 03c2f16e46fe651d9664393cea4b9e6cdfb90b72 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 4 Aug 2020 13:08:00 -0500 Subject: [PATCH] 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. --- core/stencil.config.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/stencil.config.ts b/core/stencil.config.ts index f15798c322..1ae133a1ea 100644 --- a/core/stencil.config.ts +++ b/core/stencil.config.ts @@ -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,