supernova: add gulp-sourcemaps, rename css
This commit is contained in:
parent
26945b4501
commit
075865c364
1 changed files with 1 additions and 1 deletions
|
@ -64,10 +64,10 @@ function css() {
|
||||||
const stream = src(cssFiles)
|
const stream = src(cssFiles)
|
||||||
.pipe(sourcemaps.init())
|
.pipe(sourcemaps.init())
|
||||||
.pipe(require('gulp-postcss')(postcssPlugins))
|
.pipe(require('gulp-postcss')(postcssPlugins))
|
||||||
.pipe(sourcemaps.write())
|
|
||||||
.pipe(rename(path => {
|
.pipe(rename(path => {
|
||||||
path.basename = 'style'
|
path.basename = 'style'
|
||||||
}))
|
}))
|
||||||
|
.pipe(sourcemaps.write())
|
||||||
.pipe(dest('supernova'))
|
.pipe(dest('supernova'))
|
||||||
|
|
||||||
if (browserSync.active) {
|
if (browserSync.active) {
|
||||||
|
|
Loading…
Reference in a new issue