How to manually configure a minimal setup for Reac

2019-07-26 08:40发布

问题:

I do not want to use create-react-app. So how can I configure a minimal working dev environment for a simple react app?

Note: I know I could likely just include everything at runtime as JS (that is well documented), but I do not want this, as I still want a version that is usable for production!

I do not want:

  • to have any minification (see related question here)
  • to have any concatenation (or, if it is easier to do, I may have all JS e.g. concatenated in a file)
  • any older browser support than what I write as JS (so no transpilation that does this)
  • any dev server (I can reload manually.