Simply adding a file to the root of the chrome-mv3 folder for dev and production when running plasmo

I need to add a schema.json file to the root (for development and production once distributed). Is there a straightforward way to achieve bundling the file and having it located in the root of the bundle? - it must be in the root - see above; so NOT in the assets folder
Solution:
It's as easy as adding the file to the root and then including it in package.json's manifest 😰 `"web_accessible_resources": [ { "resources": [...
Jump to solution
2 Replies
Arcane
Arcane•3w ago
@Shai Hulud has reached level 3. GG!
Solution
Shai Hulud
Shai Hulud•3w ago
It's as easy as adding the file to the root and then including it in package.json's manifest 😰 "web_accessible_resources": [ { "resources": [ "assets/config.json", "assets/icon.png", "schema.json" ], "matches": [ "https://*/*", "http://*/*" ] } ]
Want results from more Discord servers?
Add your server