From 765fb7535626df9d5b95001ab825ce0bdb024ee1 Mon Sep 17 00:00:00 2001 From: keik Date: Wed, 6 Dec 2017 15:17:11 +0900 Subject: [PATCH] Pass `false` webpack devtool option instead of `null` --- make-webpack-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-webpack-config.js b/make-webpack-config.js index 2e81510a..0ab2f156 100644 --- a/make-webpack-config.js +++ b/make-webpack-config.js @@ -137,7 +137,7 @@ module.exports = function(rules, options) { } }, - devtool: specialOptions.sourcemaps ? "nosource-source-map" : null, + devtool: specialOptions.sourcemaps ? "nosource-source-map" : false, plugins,