Skip to content

tommyZZM-archives/babel-front-end-ify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browserify plugin for babel transfrom , implemented some useful feature for front-end engineering

Install

$ npm install babel-front-end-ify --save

Useage

"use strict"
const browserify = require("browserify")

let b = browserify(["test/resources/entry-alias.js"])
            .plugin("babel-front-end-ify",{
                alias:{
                    vue:{global:"Vue"}
                    ,module1:"./test/resources/alias/module1" 
                    ,module2:"./test/resources/alias/module2"
                    ,module3:"./test/resources/alias/module3"
                }
                , plugins:[...]
                , presets:[...]
                , roots:["./packages"]
                , stringTags:{...}
            })
            
//...
single babel transform with default presets
alias
resources rely
template string precompile tags
lazy import json

Changelog

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published