3 ms·
Webpack is basically zero configuration now - with v4 - so I’ve no idea what you’re doing to make it impact your life so. It literally is one command running i
by abritinthebay 9y ago
Webpack is basically zero configuration now - with v4 - so I’ve no idea what you’re doing to make it impact your life so.
It literally is one command running in the background
- pier25 9y agoIt's zero config as long as you follow its conventions.
- abritinthebay 9y ago...using JavaScript? I mean as long as you use import or require it just works. Everything else is optional. You can use all that other stuff but there’s zero requirement to do so. What conventions do you mean?
- pier25 9y agoFor example that the entry point has to be ./src/index.js
- abritinthebay 9y agoIt doesn't have to be. Mine is ./src/client.js for example If you want zero config then there are assumptions it makes, but that's true of all zero config setups - they assume defaults. Changing it is one property in a config file. Not exactly tricky or complex.