Skip to content

Commit 523c872

Browse files
committed
Exclude mapbox from webpack
mapbox/mapbox-gl-js#4359 (comment)
1 parent 68875b9 commit 523c872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
})
3333
],
3434
module: {
35-
noParse: /node_modules\/json-schema\/lib\/validate\.js/,
35+
noParse: [/(mapbox-gl)\.js$/, /node_modules\/json-schema\/lib\/validate\.js/],
3636
rules: [
3737
{
3838
test: /\.jsx?$/,

0 commit comments

Comments
 (0)