fix: clean up polyfill plugins, externalize those modules
This commit is contained in:
parent
3ed00be45d
commit
e4963d700b
|
@ -3,7 +3,9 @@
|
|||
"chai",
|
||||
"js-yaml",
|
||||
"lodash",
|
||||
"process",
|
||||
"sinon",
|
||||
"source-map",
|
||||
"source-map-support"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -3,7 +3,6 @@ import commonjs from 'rollup-plugin-commonjs';
|
|||
import { eslint } from 'rollup-plugin-eslint';
|
||||
import json from 'rollup-plugin-json';
|
||||
import multiEntry from 'rollup-plugin-multi-entry';
|
||||
import globals from 'rollup-plugin-node-globals';
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
import replace from 'rollup-plugin-replace';
|
||||
import typescript from 'rollup-plugin-typescript2';
|
||||
|
@ -103,7 +102,6 @@ const bundle = {
|
|||
commonjs({
|
||||
namedExports,
|
||||
}),
|
||||
globals(),
|
||||
eslint({
|
||||
configFile: join('.', 'config', 'eslint.json'),
|
||||
exclude: [
|
||||
|
|
|
@ -45,9 +45,8 @@
|
|||
"rollup-plugin-eslint": "7.0.0",
|
||||
"rollup-plugin-json": "4.0.0",
|
||||
"rollup-plugin-multi-entry": "2.1.0",
|
||||
"rollup-plugin-node-builtins": "2.1.2",
|
||||
"rollup-plugin-node-externals": "2.2.0",
|
||||
"rollup-plugin-node-globals": "1.4.0",
|
||||
"rollup-plugin-node-polyfills": "^0.2.1",
|
||||
"rollup-plugin-node-resolve": "5.2.0",
|
||||
"rollup-plugin-replace": "2.2.0",
|
||||
"rollup-plugin-tslint": "0.2.2",
|
||||
|
|
Loading…
Reference in New Issue