You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/08/03 13:20:08 UTC
[superset] branch master updated: fix: Ignores hot update files when generating the manifest (#24871)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new aee2695413 fix: Ignores hot update files when generating the manifest (#24871)
aee2695413 is described below
commit aee2695413ff5a336a70e44a2313a613e037e1da
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Thu Aug 3 10:20:01 2023 -0300
fix: Ignores hot update files when generating the manifest (#24871)
---
superset-frontend/webpack.config.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index 51e37c3aeb..fb137c06cb 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -98,11 +98,10 @@ const plugins = [
.filter(x => x.endsWith('.css'))
.map(x => `${output.publicPath}${x}`),
js: chunks
- .filter(x => x.endsWith('.js'))
+ .filter(x => x.endsWith('.js') && x.match(/(?<!hot-update).js$/))
.map(x => `${output.publicPath}${x}`),
};
});
-
return {
...seed,
entrypoints: entryFiles,