V
V
vorobey33rus2020-02-02 10:20:29
React
vorobey33rus, 2020-02-02 10:20:29

Which bolirerplate to use for a minimalist build?

Hello gentlemen, just need some advice.
For the last six months, I have been actively delving into react, not to say that the code is clean and efficient, but it works fine. One thing I never learned was webpack management. I always use create-react-app with a few tweaks to webpack (which I do as instructed). However, the result does not suit me - at the output I get an all-in-one (inline) html file that is not cached, and in general some kind of disgrace. All this is due to the limitations of the scope - you cannot use json (that is, the manifest disappears) and in general any files other than js, html, svg, css (the router also does not work where it is inserted, unfortunately).

In this regard, I ask experts:
What current boilerplate do you know with the ability to export to a minimalistic build "index.html, app.js, app.css" , but with working linters and generally human conveniences. Export with chunks inevitably leads me to dancing with a tambourine in the system where the application is loaded, so it is desirable that there is no splitting.
I repeat, I am a bread, and webpack, no matter how I tried to understand and master it, is a dark thicket for me. I do not ask for any detailed instructions, just point in the right direction.
Z.Y.
Sorry for the heap of text and your wasted time

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lnked, 2020-02-03
@lnked

You can try my build if you like.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question