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

Fix dynamic import in gallery (#5472)

This commit is contained in:
Paulus Schoutsen
2020-04-06 13:29:52 -07:00
committed by GitHub
parent 53f0c01073
commit b3beb7ef85
8 changed files with 61 additions and 131 deletions

View File

@@ -245,9 +245,6 @@ const createHassioConfig = ({ isProdBuild, latestBuild }) => {
};
const createGalleryConfig = ({ isProdBuild, latestBuild }) => {
if (!latestBuild) {
throw new Error("Gallery only supports latest build!");
}
const config = createWebpackConfig({
entry: {
entrypoint: path.resolve(paths.gallery_dir, "src/entrypoint.js"),