Transform locatecontrol with Babel
Switched to ES6, also in dist
This commit is contained in:
parent
c25e9513ff
commit
da21ab266b
1 changed files with 1 additions and 1 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
presets: [['@babel/preset-env', {}]],
|
presets: [['@babel/preset-env', {}]],
|
||||||
sourceType: 'script',
|
sourceType: 'script',
|
||||||
exclude: [/node_modules\/(?!overpass-layer\/).*/],
|
exclude: [/node_modules\/(?!overpass-layer|leaflet.locatecontrol\/).*/],
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue