You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2021/11/09 01:04:59 UTC
[superset] 01/01: grouping ALL modules
This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a commit to branch one-giant-chunk
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 20789276905983988cc1e8d6cbc9b74138443bde
Author: Evan Rusackas <ev...@preset.io>
AuthorDate: Mon Nov 8 18:00:43 2021 -0700
grouping ALL modules
---
superset-frontend/webpack.config.js | 33 ++-------------------------------
1 file changed, 2 insertions(+), 31 deletions(-)
diff --git a/superset-frontend/webpack.config.js b/superset-frontend/webpack.config.js
index 62cde82..c198e09 100644
--- a/superset-frontend/webpack.config.js
+++ b/superset-frontend/webpack.config.js
@@ -230,39 +230,10 @@ const config = {
automaticNamePrefix: 'chunk',
// basic stable dependencies
vendors: {
+ enforce: true,
priority: 50,
name: 'vendors',
- test: new RegExp(
- `/node_modules/(${[
- 'abortcontroller-polyfill',
- 'react',
- 'react-dom',
- 'prop-types',
- 'react-prop-types',
- 'prop-types-extra',
- 'redux',
- 'react-redux',
- 'react-hot-loader',
- 'react-select',
- 'react-sortable-hoc',
- 'react-virtualized',
- 'react-table',
- 'react-ace',
- '@hot-loader.*',
- 'webpack.*',
- '@?babel.*',
- 'lodash.*',
- 'antd',
- '@ant-design.*',
- '.*bootstrap',
- 'moment',
- 'jquery',
- 'core-js.*',
- '@emotion.*',
- 'd3',
- 'd3-(array|color|scale|interpolate|format|selection|collection|time|time-format)',
- ].join('|')})/`,
- ),
+ test: /[\\/]node_modules[\\/]/,
},
// viz thumbnails are used in `addSlice` and `explore` page
thumbnail: {