@renbaoshuo/gulp-babel-inline

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @renbaoshuo/gulp-babel-inline

Weekly Downloads

2

Version

0.0.1

License

MIT

Unpacked Size

4.08 kB

Total Files

5

Last publish

Collaborators

  • renbaoshuo