Skip to content

Commit

Permalink
src: using webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota authored Feb 21, 2018
1 parent c29a65b commit e792588
Show file tree
Hide file tree
Showing 4 changed files with 1,030 additions and 420 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ci:
npm run lint
npm run build:browser
npm run build:compress
npm run test:ci

clean:
Expand Down
15 changes: 15 additions & 0 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const MinifyPlugin = require('babel-minify-webpack-plugin');

module.exports = {
entry: {
main: [
'./index.js'
]
},
output: {
filename: 'dist/opossum.js'
},
plugins: [
new MinifyPlugin()
]
}
Loading

0 comments on commit e792588

Please sign in to comment.