mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-27 11:08:02 -05:00
17 lines
305 B
JavaScript
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')
|
|
}
|
|
};
|
|
|