forked from w3c/w3c-website-templates-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.config.js
33 lines (33 loc) · 1008 Bytes
/
webpack.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const path = require('path');
module.exports = {
entry: {
'/public/dist/assets/js/libraries-extensions/s24-autocomplete': './assets-src/js/libraries-extensions/s24-autocomplete.js',
'/public/dist/assets/js/comments': './assets-src/js/comments.js',
'/public/dist/assets/js/main': './assets-src/js/main.js',
'/public/dist/assets/js/country-autocomplete': './assets-src/js/country-autocomplete.js',
'/public/dist/assets/js/slider': './assets-src/js/slider.js',
'/public/dist/assets/js/members': './assets-src/js/members.js',
'/public/dist/assets/js/working-group-autocomplete': './assets-src/js/working-group-autocomplete.js',
'/public/dist/assets/js/multiselect': './assets-src/js/multiselect.js',
},
module: {
rules: [
{
test: /\.(js)$/,
exclude: /node_modules/,
use: ['babel-loader']
}
]
},
resolve: {
extensions: ['*', '.js']
},
mode: 'none',
output: {
filename: '[name].js',
path: path.resolve(__dirname, '.')
},
optimization: {
minimize: false
}
};