You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am aware of the description of the repo, those who use this will have a hard time, but I would be grateful if somebody would give a couple of minutes to explain me (and probably others) how to use the Haste module system with webpack.
So I see it's quite simple to use it with gulp, basically, you just generate the modules map and use the Babel API to rewrite the requires, essentially skiping the .babelrc.
But how should I do this in a webpack environment?
When should I generate the modules map?
Thank you!
The text was updated successfully, but these errors were encountered:
You're welcome to figure that out on your own but as this is a system designed specifically for us to use and it works - we're not going to invest resources in figuring something else out right now. We compile to commonjs for npm for everybody (including us) to use.
Sorry that's not a great answer but we just don't have the time to figure spend on this.
I appreciate that you think so highly of me but it would take longer than 5 minutes for sure. I don't know how webpack works and would need to figure out how to inject a module resolver. And then I would need to find every file on disk and read it to get the providesModule declaration and build a map, assuming that's even how webpack works.
I have no need to do this so I won't be spending any more time on the matter. Good luck.
I am aware of the description of the repo, those who use this will have a hard time, but I would be grateful if somebody would give a couple of minutes to explain me (and probably others) how to use the Haste module system with webpack.
So I see it's quite simple to use it with gulp, basically, you just generate the modules map and use the Babel API to rewrite the
require
s, essentially skiping the.babelrc
.Thank you!
The text was updated successfully, but these errors were encountered: