Skip to content

Commit

Permalink
Updated package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbour committed Jun 13, 2019
1 parent 6cd8213 commit 1ce8344
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Rating front-end",
"author": "Joey Schluchter <[email protected]>",
"scripts": {
"start": "SITE_CODE='JLA' NODE_ENV='development' API='http://rating-api-workshop.apps.317f7ab7a3b146648427.eastus.azmosa.io' webpack-dev-server"
"start": "webpack-dev-server"
},
"dependencies": {
"at-ui": "^1.2.0-beta",
Expand All @@ -13,6 +13,7 @@
"compression-webpack-plugin": "^1.1.3",
"numeral": "^2.0.6",
"vue": "^2.3.4",
"html-webpack-plugin": "^2.29.0",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = {
};

if (process.env.NODE_ENV === 'production') {
module.exports.devtool = '#source-map';
module.exports.devtool = '#source-map'
module.exports.plugins = (module.exports.plugins || []).concat([
new webpack.DefinePlugin({
'process.env': {
Expand Down

0 comments on commit 1ce8344

Please sign in to comment.