files get overwritten when I restart the development server; build/chrome-mv3-dev
I want to edit popup.xxxxxx.js and manifest.json. There are two versions of these files that exists one of the versions is in build/chrome-mv3-dev and the other in .plasmo. I have been editing the ones in build/chrome-mv3-dev and when i save and the server reloads things work as i want them to. The problem is when i restart the dev server completely the changes I made to these files is overwritten. Not sure what I am supposed to be doing in order to make changes to these files.
1 Reply
Don't write any file
build/
, they are the compiled .js and .html files that are automatically generated by the dev server
If you want to write a popup, check the docs on how to create a popup file under the src/
directory. It's pretty straightforward