primevue.css import updates
parent
6bad630ce1
commit
18662adebd
|
@ -1 +0,0 @@
|
|||
@import '../../components/lib/common/Common.css';
|
13
gulpfile.js
13
gulpfile.js
|
@ -6,6 +6,7 @@ var gulp = require('gulp'),
|
|||
rename = require('gulp-rename'),
|
||||
flatten = require('gulp-flatten');
|
||||
|
||||
/** @deprecated */
|
||||
gulp.task('build-css', function () {
|
||||
return gulp
|
||||
.src(['./components/lib/common/Common.css', './components/**/*.css'])
|
||||
|
@ -16,6 +17,16 @@ gulp.task('build-css', function () {
|
|||
.pipe(gulp.dest('dist/resources'));
|
||||
});
|
||||
|
||||
gulp.task('build-primevuecss', function () {
|
||||
return gulp
|
||||
.src(['./assets/styles/primevue.css'])
|
||||
.pipe(concat('primevue.css'))
|
||||
.pipe(gulp.dest('dist/resources'))
|
||||
.pipe(uglifycss({ uglyComments: true }))
|
||||
.pipe(rename('primevue.min.css'))
|
||||
.pipe(gulp.dest('dist/resources'));
|
||||
});
|
||||
|
||||
gulp.task('build-themes', function () {
|
||||
return gulp.src(['public/themes/**/*']).pipe(gulp.dest('dist/resources/themes'));
|
||||
});
|
||||
|
@ -26,4 +37,4 @@ gulp.task('images', function () {
|
|||
});
|
||||
|
||||
//Building project with run sequence
|
||||
gulp.task('build-styles', gulp.series('build-css', 'build-themes'));
|
||||
gulp.task('build-styles', gulp.series('build-themes', 'build-primevuecss'));
|
||||
|
|
Loading…
Reference in New Issue