Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 876 Bytes

File metadata and controls

14 lines (9 loc) · 876 Bytes

bare-bundle-transform-plugin-babel

NPM Version Tests

Plugin for bare-bundle-transform that applies a babel transformation to every file with a .cjs, .mjs, and .js extension.

Usage

bare-pack ./app.js | bare-bundle-transform --plugin bare-bundle-transform-plugin-babel -o ./app.bundle

NOTE: to configure babel, add a babel.config.json to the root of the project you're bundling (as documented here).