Skip to content

Commit

Permalink
added --mode options
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemledelec committed Mar 13, 2018
1 parent a3bd349 commit 5f40b96
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -12,4 +12,5 @@ node_modules
*.opensdf

*.sdf
*.map
api
2 changes: 1 addition & 1 deletion og-dev.bat
@@ -1,2 +1,2 @@
SET NODE_ENV=development
webpack
webpack --mode development
2 changes: 1 addition & 1 deletion og-pub.bat
@@ -1,2 +1,2 @@
SET NODE_ENV=production
webpack
webpack --mode production
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -8,6 +8,8 @@
"example": "examples"
},
"scripts": {
"dev": "webpack --mode development",
"build": "webpack --mode production",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down

0 comments on commit 5f40b96

Please sign in to comment.