A
A
Alex_872020-06-17 20:43:31
webpack
Alex_87, 2020-06-17 20:43:31

How to build webpack.config correctly?

Good evening everyone! Guys, help me deal with webpack.config For a long time I've been trying to build it normally and it just doesn't work! Something will break. And the current file is generally poor. Even webpack-dev-server doesn't work! Ideally, I need a file that would contain the following:
I will immediately make a reservation that I can be wrong with the names of the modules. I convey the meaning
- less
- less, css loaders
- sourcemap
- a module that puts in a separate css file, js code from the general js
- webpack-dev-server of course
- babel
- which allows you to make css cross-browser. Perhaps this is an auto-prefix
- And something at your discretion, what else can you advise

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