Skip to content
Myr

Improve Rollup usage documentation (#263)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Aleks Hudochenkov · committed by GitHub · parent 48035a7 · Browse files · 1 file+7 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−2 removed

  • other:+7 added−2 removed

1 file+7 added−2 removed

modified:README.md+7 added-2 removed
271 unmodified lines
272273274### Rollup275276For Rollup you will need [`@rollup/plugin-replace`] to replace276For Rollup you will need [`@rollup/plugin-node-resolve`] to bundle browser version277of this library and [`@rollup/plugin-replace`] to replace278`process.env.NODE_ENV`:279280```js281 plugins: [282 nodeResolve({283 browser: true284 }),285 replace({282 'process.env.NODE_ENV': JSON.stringify(process.env.NODE)286 'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)287 })288 ]289```290291[`@rollup/plugin-node-resolve`]: https://github.com/rollup/plugins/tree/master/packages/node-resolve292[`@rollup/plugin-replace`]: https://github.com/rollup/plugins/tree/master/packages/replace293294295### PouchDB and CouchDB
216 unmodified lines