Skip to content

Commit

Permalink
バナーの生成方法を変更する
Browse files Browse the repository at this point in the history
  • Loading branch information
windyakin committed Jan 23, 2018
1 parent 95b2e4b commit 02f19c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Gulp.task('css:build', () => {

Gulp.task('css:banner', () => {
return Gulp.src(['dist/css/*.css'])
.pipe(Plugins.replace('/*!', `@charset "UTF-8";\n${BANNER}\n/*!`))
.pipe(Plugins.replace('/*! [<<original banner space>>] */', BANNER))
.pipe(Gulp.dest('dist/css'));
});

Expand Down
7 changes: 6 additions & 1 deletion scss/bootstrap.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@charset "UTF-8";

@import "bootstrap/scss/bootstrap.scss";
// [!] Please do *NOT* remove the banner space at below this
// This will be automatically replaced by gulp build tasks

/*! [<<original banner space>>] */

@import "bootstrap/scss/bootstrap";

0 comments on commit 02f19c6

Please sign in to comment.