From 56087911de0ed36bd24ba51d2a157261e40468f7 Mon Sep 17 00:00:00 2001 From: Douglas Muth Date: Wed, 8 Nov 2017 23:27:00 -0500 Subject: [PATCH] Webpack configuration file --- webpack.config.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 webpack.config.js diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..81cffa2 --- /dev/null +++ b/webpack.config.js @@ -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') + } +}; +