mirror of
https://gitee.com/layui/layui.git
synced 2025-11-24 08:33:12 +08:00
优化 sourcemaps 输出细节
This commit is contained in:
@@ -56,7 +56,7 @@ const js = () => {
|
|||||||
}))
|
}))
|
||||||
.pipe(concat('layui.js', {newLine: ''}))
|
.pipe(concat('layui.js', {newLine: ''}))
|
||||||
.pipe(header.apply(null, config.comment))
|
.pipe(header.apply(null, config.comment))
|
||||||
.pipe(sourcemaps.write(''))
|
.pipe(sourcemaps.write('.'))
|
||||||
.pipe(gulp.dest(dest));
|
.pipe(gulp.dest(dest));
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ const css = () => {
|
|||||||
compatibility: 'ie8'
|
compatibility: 'ie8'
|
||||||
}))
|
}))
|
||||||
.pipe(concat('layui.css', {newLine: ''}))
|
.pipe(concat('layui.css', {newLine: ''}))
|
||||||
.pipe(sourcemaps.write(''))
|
.pipe(sourcemaps.write('.'))
|
||||||
.pipe(gulp.dest(dest +'/css'));
|
.pipe(gulp.dest(dest +'/css'));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user