-
Notifications
You must be signed in to change notification settings - Fork 2
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
Make it a transform #13
Comments
Really? Plugins can't be declared in package.json? Let me check if it possible to have it a transform. There may be a good reaon to have it a plugin but it's been years now so I can't remember. |
OK, I checked why it's been made a plugin in the first place and this is due to the fact that a transform can't emit on the browserify pipeline - and thus can't emit dependencies involved in the bundle process. Maybe when can have glslify-require comes in two flavors: a transform as the main entry point and a plugin that would need to be required explicitely (think That would of course be a breaking change and thus a 2.x milestone. What do you think? |
@ericmorand agreed, makes sense to make transform a default entry, as browserify does for its |
Since now that is a plugin, it is impossible to use this via
"browserify"
field inpackage.json
.There does not seem to be blocker making it a transform. @ericmorand what do you think?
The text was updated successfully, but these errors were encountered: