Webpack configuration file

This commit is contained in:
Douglas Muth 2017-11-08 23:27:00 -05:00
parent e703f3260f
commit 56087911de

17
webpack.config.js Normal file
View file

@ -0,0 +1,17 @@
//
// Use the path module so that this will work on Windows systems
//
var path = require('path');
//
// Compile main.js (and its dependencies) into dist/bundle.js.
//
module.exports = {
entry: './main.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
}
};