A
A
Andrey Chernyshev2016-02-19 18:29:52
JavaScript
Andrey Chernyshev, 2016-02-19 18:29:52

How to build bundles with webpack?

Good afternoon. I'm trying to understand webpack for use in normal sites and I can't figure out how it works. Before that, I compiled everything on gulp. Actually the questions themselves:
1. How can I collect 10/100/1000 js files into a single bundle.js without manual import / require in some main.js ?
2. How to collect separately 10/100/1000 css files into one bundle.css without manual Dmitrijs Balcers ?
How the hell does it even work?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question