@poi/plugin-buble
Use buble to compile js files
Last updated 2 years ago by egoist .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @poi/plugin-buble 
SYNC missed versions from official npm registry.

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

options

options.asyncAwait

Transform async/await to pure Promise using nodent.

License

MIT © EGOIST

Current Tags

  • 10.1.0                                ...           latest (2 years ago)
  • 10.0.0-beta.10                                ...           next (2 years ago)

14 Versions

  • 10.1.0                                ...           2 years ago
  • 10.0.2                                ...           2 years ago
  • 10.0.1                                ...           2 years ago
  • 10.0.0                                ...           2 years ago
  • 10.0.0-rc.1                                ...           2 years ago
  • 10.0.0-rc.0                                ...           2 years ago
  • 10.0.0-beta.10                                ...           2 years ago
  • 10.0.0-beta.9                                ...           2 years ago
  • 10.0.0-beta.8                                ...           3 years ago
  • 10.0.0-beta.7                                ...           3 years ago
  • 10.0.0-beta.2                                ...           3 years ago
  • 10.0.0-beta.1.0                                ...           3 years ago
  • 10.0.0-alpha.1                                ...           3 years ago
  • 10.0.0-alpha.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |