Skip to content

Commit

Permalink
Remove unnecessary rollup commonjs and node resolve plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin4869 committed Nov 19, 2018
1 parent 5b544ec commit 190eab4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 61 deletions.
52 changes: 0 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
"nyc": "^13.1.0",
"rollup": "^0.66.6",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"serve-static": "^1.13.2"
}
}
8 changes: 1 addition & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import pkg from './package.json';

const input = 'src/index.js';
Expand All @@ -21,9 +19,5 @@ export default [{
}, {
input,
output: { file: `dist/${pkg.name}.umd.js`, format: 'umd', name },
plugins: [
...plugins,
resolve(),
commonjs({ include: /node_modules/ }),
],
plugins,
}];

0 comments on commit 190eab4

Please sign in to comment.