1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 18:58:57 +00:00

Add selectors to ha-form (#11534)

This commit is contained in:
Paulus Schoutsen
2022-02-04 03:47:21 -08:00
committed by GitHub
parent f47440083e
commit 0046252e32
6 changed files with 104 additions and 11 deletions

View File

@@ -30,6 +30,7 @@ const createWebpackConfig = ({
isProdBuild,
latestBuild,
isStatsBuild,
isHassioBuild,
dontHash,
}) => {
if (!dontHash) {
@@ -117,7 +118,9 @@ const createWebpackConfig = ({
},
}),
new webpack.NormalModuleReplacementPlugin(
new RegExp(bundle.emptyPackages({ latestBuild }).join("|")),
new RegExp(
bundle.emptyPackages({ latestBuild, isHassioBuild }).join("|")
),
path.resolve(paths.polymer_dir, "src/util/empty.js")
),
!isProdBuild && new LogStartCompilePlugin(),