Added noParse for prebuilt openlayers and mapbox-gl modules.

This commit is contained in:
orangemug 2017-11-06 14:58:23 +00:00
parent bb4f3482ad
commit 9801f49f4e

View file

@ -23,7 +23,11 @@ module.exports = {
extensions: ['', '.js', '.jsx']
},
module: {
loaders
noParse: [
/mapbox-gl\/dist\/mapbox-gl.js/,
/openlayers\/dist\/ol.js/
],
loaders: loaders
},
node: {
fs: "empty",