Are different templates a (future) possibility?
Hi,
I was curious if the idea of different templates was taken into account for CRA. Something similar to dotnet CLI for .net core (dotnet new ). For example, we could have a template for PWA and one that does not include anything related to PWA (no npm package(s), no manifest.json, no registerServiceWorker.js etc).
Thanks
You don't really need "templates". Create a project, do any changes you want, and then clone it next time. :-) Since all configuration and scripts are hidden as a development dependency, you won't need to do anything else.
Note package.json has nothing to do with PWAs — it's how a project specifies its dependencies.
Ok, thanks. I know about package.json. I thought that the "sw-precache-webpack-plugin" was useful only for PWA.