I am working on an Electron app that has a package.json file in the root folder. There are 3 build variants that we release for the same.
- Base App
- Base App + Feature1
- Base App + Feature1 + Feature2
I am facing an issue since point 3 needs some npm modules that my Base app doesn't need. Hence there is a change in package.json file for each build variant. Here are my doubts,
- Can there be multiple package.json files which will build specific build variant?
- Can this be done using one package.json file, If yes, how?
Thanks in advance.