diff options
Diffstat (limited to 'www/webpack.config.js')
-rw-r--r-- | www/webpack.config.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/webpack.config.js b/www/webpack.config.js new file mode 100644 index 0000000..80ad814 --- /dev/null +++ b/www/webpack.config.js @@ -0,0 +1,14 @@ +const CopyWebpackPlugin = require("copy-webpack-plugin"); +const path = require('path'); + +module.exports = { + entry: "./bootstrap.js", + output: { + path: path.resolve(__dirname, "dist"), + filename: "bootstrap.js", + }, + mode: "development", + plugins: [ + new CopyWebpackPlugin(['index.html']) + ], +}; |