File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 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 }
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 }
You can’t perform that action at this time.
0 commit comments