chore: rip antd-v4 from the app! (#33411)

This commit is contained in:
Maxime Beauchemin
2025-05-15 10:42:56 -07:00
committed by GitHub
parent fcea7e4af9
commit 33f2ffd2a9
249 changed files with 1574 additions and 2147 deletions

View File

@@ -306,9 +306,6 @@ const config = {
// resolve modules from `/superset_frontend/node_modules` and `/superset_frontend`
modules: ['node_modules', APP_DIR],
alias: {
// TODO: remove aliases once React has been upgraded to v17 and
// AntD version conflict has been resolved
antd: path.resolve(path.join(APP_DIR, './node_modules/antd')),
react: path.resolve(path.join(APP_DIR, './node_modules/react')),
// TODO: remove Handlebars alias once Handlebars NPM package has been updated to
// correctly support webpack import (https://github.com/handlebars-lang/handlebars.js/issues/953)
@@ -327,6 +324,9 @@ const config = {
'./node_modules/@storybook/react-dom-shim/dist/react-16',
),
),
'geostyler-qgis-parser/dist/QGISStyleParser': require.resolve(
'geostyler-qgis-parser/build/dist/QGISStyleParser',
),
},
extensions: ['.ts', '.tsx', '.js', '.jsx', '.yml'],
fallback: {