Merge pull request #1053 from MrTimscampi/sourcemaps

Use development mode for dev server
This commit is contained in:
Anthony Lavado 2020-04-10 15:51:17 -04:00 committed by GitHub
commit 903a7f50f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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