Skip to content

Commit

Permalink
Remove warning suppression from rollup build
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Aug 23, 2018
1 parent 3d822f3 commit ca93acb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/rollup/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,4 @@ export default {
format: 'cjs'
},
plugins: [ resolve(), cjs() ],

// (!) Unresolved dependencies -- os (imported by node_modules\lorem-ipsum\lib\generator.js, commonjs-external:os)
external: [ 'os' ],
// (!) `this` has been rewritten to `undefined`
onwarn: function ({code, message}) {
if (code === 'THIS_IS_UNDEFINED') return;
console.error(message);
}
};

0 comments on commit ca93acb

Please sign in to comment.