This repository has been archived on 2024-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
tracman-server/webpack.config.js
2017-06-23 14:33:17 -04:00

18 lines
491 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',
mellt: './static/js/src/mellt.js',
commonpasswords: './static/js/src/common-passwords.js'
},
output: {
filename: '[name].js',
path: path.resolve(__dirname, 'static/js/dist')
}
};