Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's because it's not a config file, it's a javascript app that is run to produce a javascript object, which is then used as the config.

That object needs 4 main properties: the entry (the file where your app begins), the output (where to put the compiled stuff), the loaders (what to use to load various file types identified by a regex to test the file name), and plugins (for anything else that operates on the compiled output).



Gulp was JavaScript as well, and much simpler to understand!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: