Преглед изворни кода

Make bail part of the webpack config

Steven Silvester пре 9 година
родитељ
комит
6e7d4bfee2
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      examples/lab/webpack.conf.js
  2. 1 1
      package.json

+ 1 - 0
examples/lab/webpack.conf.js

@@ -11,6 +11,7 @@ module.exports = {
   node: {
     fs: "empty"
   },
+  bail: true,
   module: {
     loaders: [
       { test: /\.ts$/, loader: 'ts-loader' },

+ 1 - 1
package.json

@@ -38,7 +38,7 @@
   "scripts": {
     "clean:example": "rimraf example/build",
     "clean": "rimraf docs/api && rimraf lib && rimraf test/coverage",
-    "build:example": "webpack --config example/webpack.conf.js --bail",
+    "build:example": "webpack --config example/webpack.conf.js",
     "build": "tsc --project src && node scripts/copycss.js",
     "docs": "typedoc --options scripts/tdoptions.json",
     "postinstall": "npm dedupe",