16 lines
396 B
JavaScript
16 lines
396 B
JavaScript
var path = require('path');
|
|
|
|
module.exports = {
|
|
entry: {
|
|
header: './static/js/src/header.js',
|
|
footer: './static/js/src/footer.js',
|
|
map: './static/js/src/map.js',
|
|
controls: './static/js/src/map-controls.js',
|
|
settings: './static/js/src/settings.js',
|
|
password: './static/js/src/password.js'
|
|
},
|
|
output: {
|
|
filename: '[name].js',
|
|
path: path.resolve(__dirname, 'static/js/dist')
|
|
}
|
|
}; |