How to fix Cannot use import statement outside a module error
I am working on a Chrome extension using Vite, React, and TypeScript. The extension includes a content script that I want to inject into active tabs. However, I am encountering the following error when the content script runs:
How to fix Cannot use import statement outside a module error
I am working on a Chrome extension using Vite, React, and TypeScript. The extension includes a content script that I want to inject into active tabs. However, I am encountering the following error when the content script runs: