Skip to content

Commit

Permalink
fix(mini-runner): 修复 Vue3 运行时报错,fix #8426
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen-jj committed Jan 5, 2021
1 parent 3408af3 commit 4ecfb7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/taro-mini-runner/src/webpack/build.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ export default (appPath: string, mode, config: Partial<IBuildConfig>): any => {
document: ['@tarojs/runtime', 'document'],
navigator: ['@tarojs/runtime', 'navigator'],
requestAnimationFrame: ['@tarojs/runtime', 'requestAnimationFrame'],
cancelAnimationFrame: ['@tarojs/runtime', 'cancelAnimationFrame']
cancelAnimationFrame: ['@tarojs/runtime', 'cancelAnimationFrame'],
Element: ['@tarojs/runtime', 'TaroElement']
})

const isCssoEnabled = !((csso && csso.enable === false))
Expand Down

0 comments on commit 4ecfb7e

Please sign in to comment.