Minify HTML and CSS template literals (#15624)

This commit is contained in:
Steve Repsher
2023-02-28 00:02:04 -05:00
committed by GitHub
parent 67d064db28
commit 17e6e132d1
5 changed files with 129 additions and 9 deletions

View File

@@ -51,7 +51,7 @@ const createWebpackConfig = ({
use: {
loader: "babel-loader",
options: {
...bundle.babelOptions({ latestBuild }),
...bundle.babelOptions({ latestBuild, isProdBuild }),
cacheDirectory: !isProdBuild,
cacheCompression: false,
},