mirror of
https://github.com/papercss/papercss
synced 2026-03-14 14:35:51 +01:00
Rename stylesheet to paper.css
This commit is contained in:
parent
0dc7463145
commit
336eecd729
2 changed files with 4 additions and 3 deletions
|
|
@ -14,6 +14,7 @@ gulp.task('less', function() {
|
|||
gulp.src('src/styles.less')
|
||||
.pipe(less())
|
||||
.pipe(cleanCSS({format: 'beautify'}))
|
||||
.pipe(rename('paper.css'))
|
||||
.pipe(gulp.dest('dist'))
|
||||
.pipe(connect.reload());
|
||||
});
|
||||
|
|
@ -23,9 +24,9 @@ gulp.task('watch', function() {
|
|||
});
|
||||
|
||||
gulp.task('minify-css', () => {
|
||||
gulp.src('dist/styles.css')
|
||||
gulp.src('dist/paper.css')
|
||||
.pipe(cleanCSS())
|
||||
.pipe(rename('styles.min.css'))
|
||||
.pipe(rename('paper.min.css'))
|
||||
.pipe(gulp.dest('dist'));
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/dist/styles.css">
|
||||
<link rel="stylesheet" href="/dist/paper.css">
|
||||
<link rel="stylesheet" href="/demo.css">
|
||||
</head>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue