Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browserify plugin #1

Closed
letmaik opened this issue Oct 16, 2016 · 5 comments
Closed

Browserify plugin #1

letmaik opened this issue Oct 16, 2016 · 5 comments

Comments

@letmaik
Copy link

letmaik commented Oct 16, 2016

This is really cool! Any chance for a browserify plugin? I'd like to use jscc within budo during development which uses browserify under the hood.

@aMarCruz
Copy link
Owner

@letmaik, I don't know how browserify works but I'll take a look at this asap,

@aMarCruz
Copy link
Owner

aMarCruz commented Oct 30, 2016

@letmaik , you can install jsccify now from npm.
This has no support for source map yet.
I don't have any setup with browserify but I hope works to you, please test it.

Plugins for Rollup and Brunch (my blunders) exists, rollup-plugin-jscc and jscc-brunch has all the features of jscc.

@letmaik
Copy link
Author

letmaik commented Oct 30, 2016 via email

@aMarCruz
Copy link
Owner

@letmaik that would be great, maybe with some examples, but I have not enough time.

This repo has 100% coverage but has an agnostic codebase. It does not involve streams nor is tested in browsers, as jscc is just a preprocessor designed for node that reads version from package.json, unless you pass a _VERSION value (I think it will be necessary to check the environment).

I will add sourcemap support to jsccify asap, and then the tests if there is enough interest in the package...

PRs are welcome of course.

I'm closing this issue now, your feedback in the jsccify repo will be appreciated.

@letmaik
Copy link
Author

letmaik commented Nov 14, 2016

I just tried it, works great! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants