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 f7d3009 commit 63bcb9bCopy full SHA for 63bcb9b
dist/maplibregl/include-maplibregl.js
@@ -53,8 +53,10 @@
53
var libsurl = config.libsurl;
54
var includes = (targetScript.getAttribute('include') || '').split(',');
55
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
56
- inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css');
57
- inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js');
+ if (!inArray(excludes, 'maplibregl')) {
+ inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css');
58
+ inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js');
59
+ }
60
if (inArray(includes, 'turf')) {
61
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
62
}
0 commit comments