Skip to content

Commit

Permalink
Combine CommonJS build into a single bundle file
Browse files Browse the repository at this point in the history
  • Loading branch information
wKovacs64 committed Oct 17, 2018
1 parent 85d6992 commit 3f33bec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ import pkg from './package.json';
export default [
// CommonJS
{
experimentalCodeSplitting: true,
input: glob.sync('src/**/*.js', {
ignore: ['**/__mocks__/**', '**/__tests__/**', '**/*.test.js'],
}),
input: 'src/hibp.js',
output: {
dir: 'lib',
file: 'lib/hibp.js',
format: 'cjs',
sourcemap: true,
indent: false,
Expand Down

0 comments on commit 3f33bec

Please sign in to comment.