Browse Source

Move general webpack to NODE_ENV

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v16.0.0alpha1
Julius Härtl 5 years ago
parent
commit
01b6f5928e
No account linked to committer's email address
4 changed files with 8 additions and 11 deletions
  1. 3
    3
      apps/oauth2/js/oauth2.js
  2. 1
    1
      apps/oauth2/js/oauth2.js.map
  3. 1
    4
      apps/oauth2/webpack.js
  4. 3
    3
      package.json

+ 3
- 3
apps/oauth2/js/oauth2.js
File diff suppressed because it is too large
View File


+ 1
- 1
apps/oauth2/js/oauth2.js.map
File diff suppressed because it is too large
View File


+ 1
- 4
apps/oauth2/webpack.js View File

@@ -12,10 +12,7 @@ module.exports = {
rules: [
{
test: /\.vue$/,
loader: 'vue-loader',
options: {
hotReload: false
}
loader: 'vue-loader'
},
{
test: /\.css$/,

+ 3
- 3
package.json View File

@@ -8,9 +8,9 @@
"test": "tests"
},
"scripts": {
"build": "webpack --progress --hide-modules --config webpack.prod.js",
"dev": "webpack --progress --watch --config webpack.dev.js",
"watch": "webpack --progress --watch --config webpack.dev.js"
"build": "NODE_ENV=production webpack --progress --hide-modules --config webpack.prod.js",
"dev": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.dev.js"
},
"repository": {
"type": "git",

Loading…
Cancel
Save