Add make target to deploy to Firebase
The configuration file has been split into 2: one for development mode
and another one for production mode.
Change-Id: I12917cd79c95642adc30004be5bc1a927bca389b
diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js
index 7287e6c..005f361 100644
--- a/frontend/webpack.config.js
+++ b/frontend/webpack.config.js
@@ -1,3 +1,4 @@
+const webpack = require('webpack');
const path = require('path')
const json5 = require('json5');
const {VueLoaderPlugin} = require('vue-loader');
@@ -47,6 +48,9 @@
filename: 'index.html',
template: 'index.html',
}),
+ new webpack.DefinePlugin({
+ 'PRODUCTION': args.mode == 'production',
+ }),
],
devServer: {
static: './dist',