babel-front-end-ify
v0.0.31
Published
Browserify plugin for babel transfrom , implemented some useful feature for front-end engineering
Downloads
9
Readme
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:{...}
})
//...