4 ms·
It is by far the least intuitive configuration I ever regularly encounter.
by dabernathy89 9y ago
It is by far the least intuitive configuration I ever regularly encounter.
- manigandham 9y agoThat'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).
- dabernathy89 9y agoGulp was JavaScript as well, and much simpler to understand!