ccapture.js icon indicating copy to clipboard operation
ccapture.js copied to clipboard

Basic bundling example

Open akella opened this issue 4 years ago • 3 comments

This is just a demo to test package compatibility with bundlers. Instructions are in readme.md. This works with this PR https://github.com/spite/ccapture.js/pull/89 done by @unsigno
Does not work with current master branch.

akella avatar Jun 04 '20 20:06 akella

Is this a parcel specific usage, or does it apply to other bundlers?

Also, does npm link allow you to work with your local development version, and other projects use that local version, instead of having to check out the version hosted on npm?

spite avatar Jun 15 '20 13:06 spite

As far as i know, there is nothing parcel specific in here, should work with Webpack and others just like that, same code.

Yep, this alias-link makes all the projects use local dependency instead of npm one. This is usually recommended way to test them locally.

akella avatar Jun 15 '20 14:06 akella

Can confirm I easily integrated that fork in a rollup project, if you want to see a working example: https://github.com/gsimone/r3f-ccapture

gsimone avatar Aug 08 '20 21:08 gsimone