preact-compat icon indicating copy to clipboard operation
preact-compat copied to clipboard

Add a "Usage with Rollup" section to the readme

Open ansballard opened this issue 8 years ago • 2 comments

Just wanted to see if here was interest in having a rollup config section along with browserify, webpack, and babel. It's pretty straightforward, just throw in rollup-plugin-alias and alias react and react-dom to dist/preact-compat.es.js.

Submitting from work (PDS Energy).

ansballard avatar Jun 13 '17 17:06 ansballard

Sure! That definitely seems like a helpful thing to have around. If you're able to submit a PR for it I'd be happy to review :)

developit avatar Jun 13 '17 19:06 developit

Maybe we should create a doc folder and inside have 3 folders: tutorials, how-tos, and references. Rollup related documentation can potentially be in any or all of those folders.

oren avatar Jun 14 '17 00:06 oren