1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 10:48:44 +00:00

Optimise sourcemaps (#5859)

This commit is contained in:
Bram Kragten
2020-05-14 00:06:39 +02:00
committed by GitHub
parent 2153bc536c
commit c894ecd0e6

View File

@@ -20,7 +20,9 @@ const createWebpackConfig = ({
} }
return { return {
mode: isProdBuild ? "production" : "development", mode: isProdBuild ? "production" : "development",
devtool: isProdBuild ? "source-map" : "inline-cheap-module-source-map", devtool: isProdBuild
? "cheap-module-source-map"
: "eval-cheap-module-source-map",
entry, entry,
module: { module: {
rules: [ rules: [