Closed aklinker1 closed 1 year ago
Works with the basic template, closing this issue.
pnpm create vite-plugin-web-extension --template react-ts
I have this issue too. Is there anything we can do to debug it?
@ben-xD if you can share your project with me, I can debug it. If not, check your app's logs and network requests to see if there are any errors, failed network requests, or lack of logs compared to a plain website project.
in my case
<script type="module" src="/src/pages/control-panel/index.tsx"></script>
showing same error with this post.
but <script type="module" src="index.tsx"></script>
works.
However HMR is not working on second version. Maybe related to #107
If it can help future readers (I loose a few hours on this), upgrading
@vitejs/plugin-react-swc
from3.2.0
to3.3.1
broke the execution of the addons.Popups are not rendered and in the console I get
React refresh runtime was loaded twice. Maybe you forgot the base path?
error.Originally posted by @stevebeauge in https://github.com/aklinker1/vite-plugin-web-extension/discussions/113