HummingBirdAnimeClient/frontEndSrc/spack.config.js
Timothy J. Warren 5346ce7d89
Some checks failed
timw4mail/HummingBirdAnimeClient/pipeline/head There was a failure building this commit
Drastically simplify setup for bundling js files
2021-04-23 18:58:51 -04:00

19 lines
283 B
JavaScript

module.exports = {
entry: {
'scripts.min': __dirname + '/js/index.js',
'tables.min': __dirname + '/js/base/sort-tables.js',
},
output: {
path: '../public/js',
},
options: {
jsc: {
target: 'es3',
loose: true,
},
minify: true,
module: {
type: 'es6'
}
}
}