fix(core): update
This commit is contained in:
parent
f2c02e6afc
commit
3d32d703bf
@ -4,6 +4,7 @@ import sourceMaps from 'rollup-plugin-sourcemaps';
|
|||||||
import typescript from 'rollup-plugin-typescript2';
|
import typescript from 'rollup-plugin-typescript2';
|
||||||
import json from 'rollup-plugin-json';
|
import json from 'rollup-plugin-json';
|
||||||
import babel from 'rollup-plugin-babel';
|
import babel from 'rollup-plugin-babel';
|
||||||
|
import nodeResolve from 'rollup-plugin-node-resolve';
|
||||||
|
|
||||||
const pkg = require('./package.json');
|
const pkg = require('./package.json');
|
||||||
|
|
||||||
@ -34,6 +35,7 @@ export default {
|
|||||||
noImplicitAny: false
|
noImplicitAny: false
|
||||||
}
|
}
|
||||||
} }),
|
} }),
|
||||||
|
nodeResolve(),
|
||||||
// Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
|
// Allow bundling cjs modules (unlike webpack, rollup doesn't understand cjs)
|
||||||
commonjs(),
|
commonjs(),
|
||||||
// Allow node_modules resolution, so you can use 'external' to control
|
// Allow node_modules resolution, so you can use 'external' to control
|
||||||
|
Loading…
Reference in New Issue
Block a user