Skip to content

Commit

Permalink
adds rollup-plugin-commons to rollup.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
erickj committed Mar 4, 2018
1 parent f3fc23b commit d4c8322
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions internal/rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"rollup": "0.52.3",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-commonjs": "8.3.0",
"typescript": "2.6.2",
"uglify-js": "3.3.9"
}
Expand Down
2 changes: 2 additions & 0 deletions internal/rollup/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

const rollup = require('rollup');
const nodeResolve = require('rollup-plugin-node-resolve');
const commonjsResolve = require('rollup-plugin-commonjs');
const path = require('path');
const fs = require('fs');

Expand Down Expand Up @@ -108,5 +109,6 @@ module.exports = {
plugins: [TMPL_additional_plugins].concat([
{resolveId: resolveBazel},
nodeResolve({jsnext: true, module: true}),
commonjsResolve(),
])
}

0 comments on commit d4c8322

Please sign in to comment.