Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
bublejs-brunch
Advanced tools
🚧 This Plugin Is Depreacted 🚧
This plugin is deprecated in favor of buble-brunch.
Adds support to Brunch to transform ES6 into ES5 with Bublé.
NOTE
See the CHANGELOG for info about the deprecation.
Installation via npm:
npm i bublejs-brunch -D
Manual install using the GitHub URI in your package.json
:
"bublejs-brunch": "aMarCruz/bublejs-brunch"
In your brunch-config
file you can specify the Bublé options.
...
plugins: {
bublejs: {
objectAssign: 'assign', // replace 'assign' with your own function
target: { ie: 10, safari: 9 }
}
}
...
By default, the plugin set this options:
objectAssign: "Object.assign"
With this, the plugin includes a polyfill in the code generated by Brunch.
If you set this option, even to ""
or "Object assign"
, the plugin does not includes the polyfill.
dangerousForOf: true
Other options, like target
or dangerousTaggedTemplateString
must be set explicitly.
The option modules
is left as false
, so Bublé generates error with the import
and export
keywords because Brunch does not support ES6 modules (yet).
In addition to the Bublé options you can set pattern
and ignore
, both anymatch, to include or ignore files.
[2.10.3] - 2018-12-13
FAQs
Adds support to transform ES6 to ES5 with Bublé to Brunch.
The npm package bublejs-brunch receives a total of 0 weekly downloads. As such, bublejs-brunch popularity was classified as not popular.
We found that bublejs-brunch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.