Skip to content

Commit

Permalink
fix(bom): 从 raf 中直接导入
Browse files Browse the repository at this point in the history
  • Loading branch information
cncolder committed Mar 26, 2020
1 parent 8477a73 commit b27bfbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/TaroProvidePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const fetch = [`${prefix}/bom/fetch`, 'fetch']

// const navigator = [`${prefix}/bom/navigator`, 'navigator']

const requestAnimationFrame = [`${prefix}/bom/requestAnimationFrame`, 'requestAnimationFrame']
const cancelAnimationFrame = [`${prefix}/bom/requestAnimationFrame`, 'cancelAnimationFrame']
const requestAnimationFrame = ['raf']
const cancelAnimationFrame = ['raf', 'cancel']

const Intl = ['intl']

Expand Down

0 comments on commit b27bfbc

Please sign in to comment.