Skip to content

Commit 937b141

Browse files
committed
Fix ol.css import
1 parent a51c0a6 commit 937b141

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ function dist_node_modules_css() {
377377

378378
function dist_ol_css() {
379379
return gulp
380-
.src("./node_modules/ol/ol.css", { base: "node_modules" })
381-
.pipe(gulp.dest(DIST_DIR));
380+
.src("./node_modules/ol/ol.css")
381+
.pipe(gulp.dest(`${DIST_DIR}node_modules/ol`));
382382
}
383383

384384
function dist_less() {

src/css/tabs/gps.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import 'ol/ol.css';
1+
@import '/node_modules/ol/ol.css';
22

33
#map {
44
height: 100%;

0 commit comments

Comments
 (0)