mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
chore: rip antd-v4 from the app! (#33411)
This commit is contained in:
committed by
GitHub
parent
fcea7e4af9
commit
33f2ffd2a9
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user