Use development mode for dev server

This commit is contained in:
MrTimscampi 2020-04-09 20:09:51 +02:00
parent ce84ead81f
commit ee09d9479b
4 changed files with 2 additions and 3 deletions

View file

@ -119,7 +119,7 @@
"Firefox ESR" "Firefox ESR"
], ],
"scripts": { "scripts": {
"serve": "gulp serve", "serve": "gulp serve --development",
"prepare": "gulp --production", "prepare": "gulp --production",
"build:development": "gulp --development", "build:development": "gulp --development",
"build:production": "gulp --production", "build:production": "gulp --production",

View file

@ -1,6 +1,5 @@
const path = require("path"); const path = require("path");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const CopyPlugin = require("copy-webpack-plugin"); const CopyPlugin = require("copy-webpack-plugin");
const Assets = [ const Assets = [

View file

@ -9,6 +9,7 @@ module.exports = merge(common, {
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
libraryTarget: "amd-require" libraryTarget: "amd-require"
}, },
devtool: '#inline-source-map',
module: { module: {
rules: [ rules: [
{ {

View file

@ -1,4 +1,3 @@
const path = require("path");
const common = require("./webpack.common"); const common = require("./webpack.common");
const merge = require("webpack-merge"); const merge = require("webpack-merge");