Separate release and dev builds of the online editor

Let `npm run build` do a release build and `npm run start` be used for
development.
This commit is contained in:
Simon Hausmann 2020-10-05 16:45:29 +02:00
parent 3647d1ba3b
commit 94fcb725b4
4 changed files with 21 additions and 5 deletions

View file

@ -0,0 +1,10 @@
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
module.exports = merge(common, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
contentBase: './dist',
},
});