From 510934cd587df694e04d2e541f77da8818572c00 Mon Sep 17 00:00:00 2001 From: Andrey Kobyshev Date: Sat, 7 Dec 2019 23:44:44 +0300 Subject: [PATCH] Fix issue 654 https://github.com/cookiecutter-flask/cookiecutter-flask/issues/654 --- {{cookiecutter.app_name}}/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.app_name}}/webpack.config.js b/{{cookiecutter.app_name}}/webpack.config.js index 8647130..017a8dd 100644 --- a/{{cookiecutter.app_name}}/webpack.config.js +++ b/{{cookiecutter.app_name}}/webpack.config.js @@ -39,7 +39,7 @@ module.exports = { resolve: { extensions: [".js", ".jsx", ".css"] }, - devtool: debug ? "eval-source-map" : null, + devtool: debug ? "eval-source-map" : false, plugins: [ new MiniCssExtractPlugin({ filename: "[name].bundle.css" }), new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" })