@pwa/plugin-buble
#Install
$ npm install --save-dev @pwa/plugin-buble
#Usage
None – recognized by and attached to @pwa/core automatically!
Important: This plugin will automatically swap out & disable
babel-loader!
The use of Bublé is recommended for simpler, vanilla JS applications... and/or for the wild and crazy.
#Config
Configurable via the buble key on your pwa.config.js file.
Note: Your
Browserslist configresults will be transformed into atargetobject for Bublé!
However, defining your ownbuble.targetobject will prevent this transformation.
Default Config:
exports.buble = {
transforms: {
modules: false
}
}
Available Options:
See Bublé's documentation for Supported Features, JSX, and Dangerous Transforms.
See also
@pwa/cli(3), @pwa/core(3), @pwa/plugin-brotli(3), @pwa/plugin-critters(3), @pwa/plugin-eslint(3), @pwa/plugin-gzip(3), @pwa/plugin-imagemin(3), @pwa/plugin-offline(3), @pwa/plugin-prettier(3), @pwa/plugin-sw-precache(3)