Skip to content

lin7sh/gulp-jsx-mini

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gulp-jsx-mini

gulp jsx plugin with no extra dependencies

Example:

transform jsx file in jsx folder to js file in js folder

const jsxPlugin = require("gulp-jsx-mini")

function jsx() {
    return src("jsx/*.jsx")
        .pipe(jsxPlugin())
        .pipe(renamePlugin((path)=> {
            path.extname = ".js"
        }))
        .pipe(dest("js"))
}

About

gulp jsx plugin with no extra dependencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published