Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
d866e21c
Commit
d866e21c
authored
Jun 17, 2022
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复@arcgis/core问题
parent
08f51f3d
Pipeline
#53200
waiting for manual action with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
config.js
config/config.js
+2
-1
webpack.base.babel.js
internals/webpack/webpack.base.babel.js
+8
-0
No files found.
config/config.js
View file @
d866e21c
...
@@ -37,7 +37,7 @@ module.exports = {
...
@@ -37,7 +37,7 @@ module.exports = {
ignoreMomentLocale
:
true
,
ignoreMomentLocale
:
true
,
nodeModulesTransform
:
{
nodeModulesTransform
:
{
type
:
'none'
,
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
],
proxy
:
proxy
[
NODE_ENV
],
theme
:
{
theme
:
{
...
@@ -132,6 +132,7 @@ module.exports = {
...
@@ -132,6 +132,7 @@ module.exports = {
},
},
alias
:
{
alias
:
{
cesium
:
path
.
resolve
(
__dirname
,
cesiumBuild
),
cesium
:
path
.
resolve
(
__dirname
,
cesiumBuild
),
'@esri/arcgis-html-sanitizer'
:
path
.
resolve
(
__dirname
,
'../node_modules/@esri/arcgis-html-sanitizer/dist/esm/index.js'
)
},
},
// esbuild: {}
// esbuild: {}
...
...
internals/webpack/webpack.base.babel.js
View file @
d866e21c
...
@@ -488,6 +488,14 @@ module.exports = options => {
...
@@ -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
)
{
if
((
isProd
&&
defineConfig
.
analyze
)
||
process
.
env
.
ANALYZE
)
{
const
mergeAnalyze
=
Object
.
assign
(
const
mergeAnalyze
=
Object
.
assign
(
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment