We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0363302 commit 411006eCopy full SHA for 411006e
scripts/watch.js
@@ -9,9 +9,9 @@ require('colors-cli/toxic');
9
const watchOptions = {
10
input: 'src/index.js',
11
plugins: [
12
- nodeResolve(), // so Rollup can find `ms`
+ nodeResolve.default(), // so Rollup can find `ms`
13
commonjs(), // so Rollup can convert `ms` to an ES module
14
- babel({
+ babel.default({
15
babelHelpers: 'bundled',
16
exclude: 'node_modules/**', // 只编译我们的源代码
17
presets: [[
0 commit comments