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:58 UTC

[superset] branch one-giant-chunk created (now 2078927)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch one-giant-chunk
in repository https://gitbox.apache.org/repos/asf/superset.git.


      at 2078927  grouping ALL modules

This branch includes the following new commits:

     new 2078927  grouping ALL modules

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[superset] 01/01: grouping ALL modules

Posted by ru...@apache.org.
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: {