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

@@ -150,9 +150,8 @@ gulp.task(
gulp.task("webpack-dev-server-gallery", () => {
runDevServer({
compiler: webpack(
createGalleryConfig({ latestBuild: true, isProdBuild: false })
),
// We don't use the es5 build, but the dev server will fuck up the publicPath if we don't
compiler: webpack(bothBuilds(createGalleryConfig, { isProdBuild: false })),
contentBase: paths.gallery_root,
port: 8100,
});