Skip to content

Latest commit

 

History

History

plugin-buble

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@pwa/plugin-buble

PWA plugin for Bublé

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 config results will be transformed into a target object for Bublé!
However, defining your own buble.target object will prevent this transformation.

Default Config:

exports.buble = {
  transforms: {
    modules: false
  }
}

Available Options:

See Bublé's documentation for Supported Features, JSX, and Dangerous Transforms.