From fad247ee8c246f1d2c30ecbc8ca84512a7960bc6 Mon Sep 17 00:00:00 2001 From: Daniel Tomlinson Date: Mon, 25 May 2020 04:29:05 +0100 Subject: [PATCH] Adding webpack configs --- webpack.common.js | 10 ++++++++++ webpack.prod.js | 0 2 files changed, 10 insertions(+) create mode 100644 webpack.common.js create mode 100644 webpack.prod.js diff --git a/webpack.common.js b/webpack.common.js new file mode 100644 index 0000000..09931b3 --- /dev/null +++ b/webpack.common.js @@ -0,0 +1,10 @@ +const webpack = require('webpack') +const path = require('path') + +module.exports = { + mode: 'development', + entry: path.resolve(__dirname, 'src/main.js'), + output: { + path: path.resolve(__dirname, 'static/dist') + } +} diff --git a/webpack.prod.js b/webpack.prod.js new file mode 100644 index 0000000..e69de29