mirror of
https://github.com/dmuth/diceware.git
synced 2024-12-22 10:33:48 +00:00
Webpack configuration file
This commit is contained in:
parent
e703f3260f
commit
56087911de
1 changed files with 17 additions and 0 deletions
17
webpack.config.js
Normal file
17
webpack.config.js
Normal 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')
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in a new issue