Use development mode for dev server
This commit is contained in:
parent
ce84ead81f
commit
ee09d9479b
4 changed files with 2 additions and 3 deletions
|
@ -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",
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
|
@ -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: [
|
||||||
{
|
{
|
||||||
|
|
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue