You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm employing viteStaticCopy to dynamically copy certain assets depending on specific configurations. However, I'm encountering an error with crx, indicating that these files do not exist.
Additionally, some of the nested JavaScript files in the manifest file are defined as "/content_script.js," whereas in my source folder, they are actually located within "src/contentScript/content_script.js." This occurs because later on, Vite moves them to the root directory.
Error: ENOENT: Could not load manifest asset "content_script.js".
Error: ENOENT: Could not load manifest asset "assets/icon_128.png".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm employing viteStaticCopy to dynamically copy certain assets depending on specific configurations. However, I'm encountering an error with crx, indicating that these files do not exist.
Additionally, some of the nested JavaScript files in the manifest file are defined as "/content_script.js," whereas in my source folder, they are actually located within "src/contentScript/content_script.js." This occurs because later on, Vite moves them to the root directory.
Error: ENOENT: Could not load manifest asset "content_script.js".
Error: ENOENT: Could not load manifest asset "assets/icon_128.png".
What should I do?
Beta Was this translation helpful? Give feedback.
All reactions