4 ms·
> What if we could take C# code, and transpile it into JavaScript? What if we could take a YAML configuration file, and create a working program just out of con
by arve0 9y ago
> What if we could take C# code, and transpile it into JavaScript? What if we could take a YAML configuration file, and create a working program just out of configuration? What if we took an image, and automatically made it cropped and greyscaled?
What?! Image, crop and greyscale? That doesn't sound like a job for a bundler. Is this sarcasm?
- Siilwyn 9y agoDon't think so: see webpack as a builder if that makes more sense. People are using it in place of npm scripts or for example gulp.
- abritinthebay 9y agoWhich really is an anti-pattern IMO - but seeing people repeat the same mistakes with new tools over and over is not new I guess - but it is extremely powerful.
- jogjayr 9y agoIt's a valid use case. Think of something like a thumbnail generator for a directory of images. If you include an image in your application, maybe you also want to be easily pull in a thumbnail for it on a different summary page in your app.
- crooked-v 9y agoTake a look at how many crazy variations of a favicon image you need now to satisfy iOS/Android/Microsoft desires.