mirror of
https://github.com/maputnik/editor.git
synced 2026-08-01 18:57:26 +00:00
Added noParse for prebuilt openlayers and mapbox-gl modules.
This commit is contained in:
@@ -23,7 +23,11 @@ module.exports = {
|
|||||||
extensions: ['', '.js', '.jsx']
|
extensions: ['', '.js', '.jsx']
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
loaders
|
noParse: [
|
||||||
|
/mapbox-gl\/dist\/mapbox-gl.js/,
|
||||||
|
/openlayers\/dist\/ol.js/
|
||||||
|
],
|
||||||
|
loaders: loaders
|
||||||
},
|
},
|
||||||
node: {
|
node: {
|
||||||
fs: "empty",
|
fs: "empty",
|
||||||
|
|||||||
Reference in New Issue
Block a user