mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-27 08:55:25 +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']
|
||||
},
|
||||
module: {
|
||||
loaders
|
||||
noParse: [
|
||||
/mapbox-gl\/dist\/mapbox-gl.js/,
|
||||
/openlayers\/dist\/ol.js/
|
||||
],
|
||||
loaders: loaders
|
||||
},
|
||||
node: {
|
||||
fs: "empty",
|
||||
|
|
Loading…
Reference in a new issue