Commit d866e21c authored by 邓晓峰's avatar 邓晓峰

fix: 修复@arcgis/core问题

parent 08f51f3d
Pipeline #53200 waiting for manual action with stages
......@@ -37,7 +37,7 @@ module.exports = {
ignoreMomentLocale: true,
nodeModulesTransform: {
type: 'none',
exclude: ['@wisdom-map/arcgismap', '@wisdom-map/amap', '@wisdom-map/basemap', 'swagger-ui-react', 'Cesium'],
exclude: ['@wisdom-map/arcgismap', '@wisdom-map/amap', '@wisdom-map/basemap','swagger-ui-react', 'Cesium'],
},
proxy: proxy[NODE_ENV],
theme: {
......@@ -132,6 +132,7 @@ module.exports = {
},
alias: {
cesium: path.resolve(__dirname, cesiumBuild),
'@esri/arcgis-html-sanitizer': path.resolve(__dirname, '../node_modules/@esri/arcgis-html-sanitizer/dist/esm/index.js')
},
// esbuild: {}
......
......@@ -488,6 +488,14 @@ module.exports = options => {
}
rule
.use('babel-loader')
.loader(require.resolve('@umijs/deps/compiled/babel-loader'))
.options(
babelOpts
);
if ((isProd && defineConfig.analyze) || process.env.ANALYZE) {
const mergeAnalyze = Object.assign(
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment