0.0.1 • Published 2 years ago

@renbaoshuo/gulp-babel-inline v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

gulp-babel-inline

npm version Author npm license

Issues with the output should be reported in Babel repository.

Install

npm install @renbaoshuo/gulp-babel-inline
# or use yarn: yarn add @renbaoshuo/gulp-babel-inline

Usage

const gulp = require('gulp');
const babelInline = require('@renbaoshuo/gulp-babel-inline');

gulp.task('default', () =>
    gulp.src('src/**/*.html')
        .pipe(babelInline({
            presets: ['@babel/preset-env']
        }))
        .pipe(gulp.dest('dist'))
);

Author

gulp-babel-inline © Baoshuo, Released under the MIT License.
Authored and maintained by Baoshuo with help from contributors.

Personal Website · Blog · GitHub @renbaoshuo · Twitter @renbaoshuo

0.0.1

2 years ago