mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-14 20:23:27 +01:00
Added noParse for prebuilt openlayers and mapbox-gl modules.
This commit is contained in:
parent
bb4f3482ad
commit
9801f49f4e
1 changed files with 5 additions and 1 deletions
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue