diceware/webpack.config.js
2017-11-09 19:43:36 -05:00

17 lines
305 B
JavaScript

//
// 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: './src/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
}
};