poi-plugin-buble
v10.0.0-alpha.0
Published
Use buble to compile js files
Downloads
5
Readme
poi-plugin-buble
Use buble instead of babel to transpile .js
.es6
and script tag in .vue
files
ES2017 -> buble -> nodent for async/await -> ES5
Install
yarn add poi-plugin-buble --dev
Usage
// poi.config.js
module.exports = {
plugins: [
require('poi-plugin-buble')(/* options */)
]
}
Default Buble options:
{
transforms: {
dangerousForOf: true,
generator: false,
modules: false
},
objectAssign: 'Object.assign'
}
API
Table of Contents
pluginBuble
Use Buble to transpile JS files
Parameters
options
Object
License
MIT © EGOIST