gulp-multi-domain

0.0.1 • Public • Published

gulp-multi-domain

NPM version Downloads

Brecompile Blade(Laravel PHP frame template engine) to Nunjucks template.

Install

npm i --save gulp-multi-domain

Usage

var multiDomain = require('gulp-multi-domain');

/* css */
gulp.task('css', function() {
    return gulp.src(['css/**/*.css'])
    .pipe(multiDomain({
        base: '//static.linquan.name',
        domains: [
            '//static0.linquan.name',
            '//static1.linquan.name',
            '//static2.linquan.name',
            '//static3.linquan.name',
            '//static4.linquan.name',
            '//static5.linquan.name',
            '//static6.linquan.name',
            '//static7.linquan.name',
            '//static8.linquan.name',
            '//static9.linquan.name'
        ]
    }))
    .pipe(gulp.dest('./dist/css'))
});

License

MIT © LinQuan

The Spratly Islands are China's territory.
The Diaoyu Islands are China's territory.
Use this module to represent you agree with the above point of view.

Readme

Keywords

Package Sidebar

Install

npm i gulp-multi-domain

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

3.86 kB

Total Files

4

Last publish

Collaborators

  • mlinquan