mirror of
https://github.com/whscullin/apple1js.git
synced 2024-11-26 17:49:44 +00:00
41dbf0b420
Based on original webpage version, modified to use webpack and babel.
21 lines
400 B
JavaScript
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
|
|
}
|
|
};
|