Skip to content

Commit b579db2

Browse files
committed
【fix】build
1 parent af5a18d commit b579db2

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

build/webpack.config.leaflet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = {
5252
]
5353
}
5454
}
55-
configBase.moduleVersion === "es6" && (babelConfig.include = /FGBLayer|flatgeobuf/);
55+
configBase.moduleVersion === "es6" && (babelConfig.include = /FGBLayer|flatgeobuf|fast-xml-parser|path-expression-matcher/);
5656
moduleRules.push(babelConfig);
5757
moduleRules.push(configBase.module.rules.css);
5858
return moduleRules

build/webpack.config.mapboxgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ module.exports = {
6565
]
6666
}
6767
};
68-
configBase.moduleVersion === 'es6' && (babelConfig.include = /FGBLayer|flatgeobuf/);
68+
configBase.moduleVersion === 'es6' && (babelConfig.include = /FGBLayer|flatgeobuf|fast-xml-parser|path-expression-matcher/);
6969
moduleRules.push(babelConfig);
7070
moduleRules.push(configBase.module.rules.css);
7171
return moduleRules;

build/webpack.config.maplibregl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = {
6262
]
6363
}
6464
};
65-
configBase.moduleVersion === 'es6' && (babelConfig.include = /FGBLayer|flatgeobuf/);
65+
configBase.moduleVersion === 'es6' && (babelConfig.include = /FGBLayer|flatgeobuf|fast-xml-parser|path-expression-matcher/);
6666
moduleRules.push(babelConfig);
6767
moduleRules.push(configBase.module.rules.css);
6868
return moduleRules;

build/webpack.config.openlayers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ module.exports = {
7070
]
7171
}
7272
}
73-
configBase.moduleVersion === "es6" && (babelConfig.include = /FGB|flatgeobuf/);
73+
configBase.moduleVersion === "es6" && (babelConfig.include = /FGBLayer|flatgeobuf|fast-xml-parser|path-expression-matcher/);
7474
moduleRules.push(babelConfig);
7575
moduleRules.push(configBase.module.rules.css);
7676
return moduleRules;

0 commit comments

Comments
 (0)