一覧へ戻る
ezekielchentnik/rollup-plugin-prepack(新しいタブで開きます)
主要言語: JavaScript
Rollup plugin to easily run your bundles through prepack
- star 数
- 5
- watcher 数
- 1
- fork 数
- 0
- issue 数
- 0
- 最終更新
- 2017/05/05
主要言語: JavaScript
Rollup plugin to easily run your bundles through prepack
Run your Rollup bundles through prepack.
See prepack for more info and details on when it makes sense for this optimization.
Install
npm i rollup-plugin-prepack --save-dev
Use plugin in your rollup.config.js
const buble = require('rollup-plugin-buble') const prepack = require('rollup-plugin-prepack') const options = {} // prepack options, see prepack docs module.exports = { entry: 'src/index.js', plugins: [ buble({ jsx: 'h' }), prepack(options) ], // ... }
| Name | Description | Default |
|---|---|---|
prepack |
Prepack configuration. See Prepack documentation. |