Skip to content

Commit

Permalink
fix: Fix ESLint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 31, 2020
1 parent c04cf0c commit 77018ee
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ const inputOptions = {
exclude: 'node_modules/**', // 只编译我们的源代码
presets: [[
'@babel/preset-env', {
/**
* Do not transpile typeof helper with itself
* https://github.com/babel/babel/pull/10788/files
*/
'exclude': ['@babel/plugin-transform-typeof-symbol']
}]],
/**
* Do not transpile typeof helper with itself
* https://github.com/babel/babel/pull/10788/files
*/
exclude: ['@babel/plugin-transform-typeof-symbol'],
},
]],
}),
],
};
Expand Down

0 comments on commit 77018ee

Please sign in to comment.