diff --git a/packages/taro-components/stencil.config.ts b/packages/taro-components/stencil.config.ts index ee985cf7ec18..7b5c3b1a704f 100644 --- a/packages/taro-components/stencil.config.ts +++ b/packages/taro-components/stencil.config.ts @@ -21,6 +21,7 @@ export const config: Config = { { components: ['taro-swiper-core', 'taro-swiper-item-core'] }, { components: ['taro-video-core', 'taro-video-control', 'taro-video-danmu'] } ], + buildEs5: 'prod', testing: { testRegex: '(/__tests__/.*|(\\.|/)(tt|spec))\\.[jt]sx?$', transform: {