From 523c87249af1f86e1f1010ebda4a12451727871e Mon Sep 17 00:00:00 2001 From: Mike Williamson Date: Fri, 12 May 2017 16:59:08 -0400 Subject: [PATCH] Exclude mapbox from webpack https://github.com/mapbox/mapbox-gl-js/issues/4359#issuecomment-288001933 --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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?$/,