diff --git a/webpack.config.js b/webpack.config.js index 1522f06..0bc19ec 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -32,7 +32,7 @@ module.exports = { }) ], module: { - noParse: /node_modules\/json-schema\/lib\/validate\.js/, + noParse: [/(mapbox-gl)\.js$/, /node_modules\/json-schema\/lib\/validate\.js/], rules: [ { test: /\.jsx?$/,