ronami / minipack

πŸ“¦ A simplified example of a modern module bundler written in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

possibility of adding more introductory code regarding file loaders?

mayank23 opened this issue Β· comments

Hi! πŸ˜„ thank you for creating this project! It's a great way to understand bundlers more.

File loaders are also a heavily used feature provided by different bundlers. Would you accept very introductory code regarding loaders? Basically we could create a different example folder showing how minipack would work with file loaders.

Here's a gist with a very basic css file loader example (along with the generated bundle.js):
https://gist.github.com/mayank23/6163214ce6b7562bd300b9a79ef5dde4. (still needs explanation comments)

If interested I could make a PR for this. I feel that having some introductory examples of heavily used bundler features would immensely help also.

Thank you!!

Hi πŸ˜ƒ, not sure if you had a chance to see this yet?

Thanks!