apple2js/webpack.config.js

22 lines
446 B
JavaScript
Raw Normal View History

2019-03-01 05:21:18 +00:00
const path = require('path');
module.exports =
{
devtool: 'source-map',
entry: {
main2: path.resolve('js/entry2.js'),
main2e: path.resolve('js/entry2e.js')
2019-03-01 05:21:18 +00:00
},
output: {
path: path.resolve('dist/'),
library: 'Apple2',
libraryExport: 'Apple2',
libraryTarget: 'var'
2019-03-01 05:21:18 +00:00
},
devServer: {
compress: true,
2019-03-05 03:55:35 +00:00
publicPath: '/dist/',
watchContentBase: true
2019-03-01 05:21:18 +00:00
}
};