GitXplorerGitXplorer
a

gulp-inject-css

public
0 stars
2 forks
2 issues

Commits

List of commits on branch master.
Unverified
240defbff83d7254bab2ba4ead7af661be92d916

3.0.0

aalik0211 committed 4 years ago
Unverified
49e795616a380adfca27df88a237c3e7fc2638b3

Update mocha

aalik0211 committed 4 years ago
Unverified
614d8749041cf7caae18c580b96c2d8f4510ff2f

Update vinyl

aalik0211 committed 4 years ago
Unverified
9edf62f2ac2367a4560e0adbae5c19efb29b1145

Use Buffer.from

aalik0211 committed 4 years ago
Unverified
37ef59336686317411a4053428a8b8f8b457efa7

Update through2

aalik0211 committed 4 years ago
Unverified
4be41ed772eb43b9ad02400edc2e401f529e2cf5

Use GitHub Actions instead Travis CI

aalik0211 committed 4 years ago

README

The README file for this repository.

gulp-inject-css

GitHub Actions Dependency Status devDependency Status

Inject css file to html

Install

npm install gulp-inject-css --save-dev

Usage

const gulp = require('gulp');
const injectCSS = require('gulp-inject-css');

gulp.task('inject-css', function() {
  gulp.src('src/*.html')
    .pipe(injectCSS())
    .pipe(gulp.dest('dist'));
});

In the html file, specify the relative path to css

<html>
  ...
  <!-- inject-css css/main.css -->
  ...
</html>