ソースを参照

Switch to `nosource-source-map` for dist builds

bubble
Kyle Shockey 7年前
コミット
dccc9cfc36
4個のファイルの変更4行の追加4行の削除
  1. +1
    -1
      make-webpack-config.js
  2. +1
    -1
      webpack-dist-bundle.config.js
  3. +1
    -1
      webpack-dist-standalone.config.js
  4. +1
    -1
      webpack-dist.config.js

+ 1
- 1
make-webpack-config.js ファイルの表示

@@ -137,7 +137,7 @@ module.exports = function(rules, options) {
}
},

devtool: specialOptions.sourcemaps ? "cheap-module-source-map" : null,
devtool: specialOptions.sourcemaps ? "nosource-source-map" : null,

plugins,



+ 1
- 1
webpack-dist-bundle.config.js ファイルの表示

@@ -11,7 +11,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


+ 1
- 1
webpack-dist-standalone.config.js ファイルの表示

@@ -11,7 +11,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


+ 1
- 1
webpack-dist.config.js ファイルの表示

@@ -13,7 +13,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


読み込み中…
キャンセル
保存