mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 16:36:28 -05:00
18 lines
300 B
JavaScript
18 lines
300 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: './main.js',
|
||
|
output: {
|
||
|
filename: 'bundle.js',
|
||
|
path: path.resolve(__dirname, 'dist')
|
||
|
}
|
||
|
};
|
||
|
|