Skip to content

fix(watch-mode): allow run plugin in watch mode - #36

Open
IvanRodriCalleja wants to merge 1 commit into
StarkShang:mainfrom
IvanRodriCalleja:ivan/fix-issue-6
Open

fix(watch-mode): allow run plugin in watch mode#36
IvanRodriCalleja wants to merge 1 commit into
StarkShang:mainfrom
IvanRodriCalleja:ivan/fix-issue-6

Conversation

@IvanRodriCalleja

@IvanRodriCalleja IvanRodriCalleja commented Jan 18, 2023

Copy link
Copy Markdown

Fixes: #6

The problem with the watch mode was that the input for content script was not regenerated and the new manifest was wrong generated because the content script was not found in the bundle as a file.

@StarkShang Would you be open to review and release a new version in case you are agree with the fix or do you prefer that i fork the repo and maintain my own plugin?

@salmin89

Copy link
Copy Markdown

I would love to get this merged. @IvanRodriCalleja did this work for your local env? got a sandbox project setup for testing that I can tryout?

I tried in my own with npm install github:IvanRodriCalleja/vite-plugin-chrome-extension#0dc5405 but didn't get it to work

@IvanRodriCalleja

Copy link
Copy Markdown
Author

I had it working in my local with this changes but finally i migrated to @crxjs/vite-plugin

@salmin89

Copy link
Copy Markdown

@IvanRodriCalleja good idea, I will do that to :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

empty build being generated when running vite build --watch

2 participants