mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: build issues on master with 'npm run dev' (#34272)
This commit is contained in:
committed by
GitHub
parent
2c81eb6c39
commit
77f66e7434
@@ -24,7 +24,7 @@ import {
|
||||
getSequentialSchemeRegistry,
|
||||
CategoricalColorNamespace,
|
||||
} from '@superset-ui/core';
|
||||
import Datamap from 'datamaps/dist/datamaps.world.min';
|
||||
import Datamap from 'datamaps/dist/datamaps.all.min';
|
||||
import { ColorBy } from './utils';
|
||||
|
||||
const propTypes = {
|
||||
|
||||
@@ -319,6 +319,13 @@ const config = {
|
||||
'./node_modules/@storybook/react-dom-shim/dist/react-16',
|
||||
),
|
||||
),
|
||||
// Workaround for react-color trying to import non-existent icon
|
||||
'@icons/material/UnfoldMoreHorizontalIcon': path.resolve(
|
||||
path.join(
|
||||
APP_DIR,
|
||||
'./node_modules/@icons/material/CubeUnfoldedIcon.js',
|
||||
),
|
||||
),
|
||||
},
|
||||
extensions: ['.ts', '.tsx', '.js', '.jsx', '.yml'],
|
||||
fallback: {
|
||||
|
||||
Reference in New Issue
Block a user