apple1js/webpack.config.js
Will Scullin 41dbf0b420
First commit to github.
Based on original webpage version, modified to use
webpack and babel.
2019-09-04 20:03:11 -07:00

21 lines
400 B
JavaScript

const path = require('path');
module.exports =
{
devtool: 'source-map',
entry: {
apple1: path.resolve('js/entry1.js')
},
output: {
path: path.resolve('dist/'),
library: 'Apple1',
libraryExport: 'Apple1',
libraryTarget: 'var'
},
devServer: {
compress: true,
publicPath: '/dist/',
watchContentBase: true
}
};