Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 654a29b commit 71914deCopy full SHA for 71914de
build/webpack.config.openlayers.js
@@ -56,7 +56,19 @@ module.exports = {
56
exclude: /classic | webgl-debug/,
57
loader: 'babel-loader',
58
options: {
59
- presets: ['@babel/preset-env']
+ presets: ['@babel/preset-env'],
60
+ plugins: [
61
+ [
62
+ '@babel/plugin-transform-runtime',
63
+ {
64
+ absoluteRuntime: false,
65
+ corejs: false,
66
+ helpers: false,
67
+ regenerator: true,
68
+ useESModules: false
69
+ }
70
+ ]
71
72
}
73
});
74
package.json
@@ -59,6 +59,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@babel/core": "^7.7.4",
+ "@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.7.4",
"@geoman-io/leaflet-geoman-free": "2.3.0",
"babel-eslint": "^10.0.3",
0 commit comments