Skip to content

Commit 8f0ba50

Browse files
committed
2 parents ef48ba8 + 63bcb9b commit 8f0ba50

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dist/maplibregl/include-maplibregl.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@
5353
var libsurl = config.libsurl;
5454
var includes = (targetScript.getAttribute('include') || '').split(',');
5555
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');
56+
if (!inArray(excludes, 'maplibregl')) {
57+
inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css');
58+
inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js');
59+
}
5860
if (inArray(includes, 'turf')) {
5961
inputScript(libsurl + '/turf/6.5.0/turf.min.js');
6062
}
@@ -164,12 +166,9 @@
164166
inputScript(libsurl + '/tensorflow/3.9.0/tf.min.js');
165167
}
166168
if (inArray(includes, 'videojs')) {
167-
inputCSS(libsurl + 'video-js/7.10.2/video-js.min.css');
169+
inputCSS(libsurl + '/video-js/7.10.2/video-js.min.css');
168170
inputScript(libsurl + '/video-js/7.10.2/video.min.js');
169171
}
170-
if (inArray(includes, 'FGB')) {
171-
inputScript(libsurl + '/flatgeobuf-geojson/3.23.1/flatgeobuf-geojson.min.js');
172-
}
173172
if (inArray(includes, 'g6')) {
174173
inputScript(libsurl + '/antv/g6/4.3.2/g6.min.js');
175174
}

0 commit comments

Comments
 (0)