diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js index 51e37c3ae..fb137c06c 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(/(? `${output.publicPath}${x}`), }; }); - return { ...seed, entrypoints: entryFiles,