Skip to content

Commit

Permalink
try fix netlify 2
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 committed Nov 27, 2024
1 parent 3fbfc30 commit 0d43333
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion webpack/shared-webpack-configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ const resolveAlias = {
// kepler.gl and loaders.gl need to use same apache-arrow
'apache-arrow': `${NODE_MODULES_DIR}/apache-arrow`,
// react-ai-assist needs to be resolved from same node_modules
'react-ai-assist': `${NODE_MODULES_DIR}/react-ai-assist`
'react-ai-assist': `${NODE_MODULES_DIR}/react-ai-assist`,
// echarts resolve
echarts: `${NODE_MODULES_DIR}/echarts`,
'echarts/core': `${NODE_MODULES_DIR}/echarts/lib/core`,
'echarts/components': `${NODE_MODULES_DIR}/echarts/lib/components`,
'echarts/renderers': `${NODE_MODULES_DIR}/echarts/lib/renderers`,
'echarts/charts': `${NODE_MODULES_DIR}/echarts/lib/charts`

};

// add kepler.gl submodule aliases
Expand Down

0 comments on commit 0d43333

Please sign in to comment.