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 would love to know as well. Here's what I got so far:
I started a simple react app using vite cli.
I followed with installing vite-plugin-chrome-extension
and updated the plugins with react as the first plugin: plugins: [react(), chromeExtension()],
I moved the index.html file into the src folder.
To make sure I'm serving the right file in dev I added root: './src', to the vite config file. (Obv. I updated the script path inside the index.html file)
in the manifest.json I added the same index.html file path as the popup page:
Overall it seems to be working?
But I have few issues:
When running npm run dev I get the following errors:
Sourcemap for "/Users/roee/Repos/playground/SafeBrowsing/node_modules/.vite/react.js" points to missing source files
Sourcemap for "/Users/roee/Repos/playground/SafeBrowsing/node_modules/.vite/react_jsx-dev-runtime.js" points to missing source files
[BABEL] Note: The code generator has deoptimised the styling of /Users/roee/Repos/playground/SafeBrowsing/node_modules/.vite/react-dom.js?v=24bedd98 as it exceeds the max of 500KB.
Sourcemap for "/Users/roee/Repos/playground/SafeBrowsing/node_modules/.vite/react-dom.js" points to missing source files
I also didn't get to the options page yet so all in all it's not good enough solution and IDK if the basic standard react plugin can go hand in hand with this plugin :(
No description provided.
The text was updated successfully, but these errors were encountered: