hello-world icon indicating copy to clipboard operation
hello-world copied to clipboard

How do I modify the webpack configuration such that the created executable does not revert back to original version of 'manifest.json'?

Open kendrewchris opened this issue 1 year ago • 1 comments

I am new to web-development and webpack so I apologize for the dumb question. I want to use the project provided in this repo as a template for the creation of my own extension using InboxSDK. How can I alter the webpack configuration such that the final executable, 'dist' directory, that is created after running 'npm build' only contains the single 'manifest.json' file and reflects changes I want to make to the file?

Thank you in advance for any help or resources that can be offered to further my understanding.

kendrewchris avatar Feb 02 '24 18:02 kendrewchris

If you want to make changes to the manifest.json file, you need to modify the one in the "static" directory, not the one in the "dist" directory. The one in the "dist" directory is created during build based on the one in the "static" directory.

Macil avatar Feb 05 '24 00:02 Macil