aswi2020sebela-gitlab/website/webpack.config.js @ 9a772066
1 | 9a772066 | Tomáš | const path = require('path'); |
---|---|---|---|
2 | module.exports = { |
||
3 | entry: { |
||
4 | index: "./public/js/index.js", |
||
5 | polyfills: './public/js/polyfills.js', |
||
6 | },
|
||
7 | optimization: { |
||
8 | minimize: true |
||
9 | },
|
||
10 | output: { |
||
11 | filename: '[name].bundle.js', |
||
12 | path: path.resolve(__dirname, 'public/js'), |
||
13 | library: 'js' |
||
14 | },
|
||
15 | }
|