Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating Manifest V2 extension by default #7

Open
MaxterBattle opened this issue Aug 4, 2022 · 3 comments
Open

Generating Manifest V2 extension by default #7

MaxterBattle opened this issue Aug 4, 2022 · 3 comments

Comments

@MaxterBattle
Copy link

Google search terms

Describe the bug

My initial trial of this boilerplate generated a manifest v2 extension. These are now effectively obsolete. Reading the more extensive extend-chrome docs, I think it supports manifest v3; anyone trying to build their first extension will be confused by this boilerplate.

How do we reproduce?

npx create-react-crx
cd # to project sub-dir
npm install  
npm run dev

Expected behavior

An installable extension with minimal function

Actual behavior

The generated extension won't install due to the v3 manifest in the ./dist folder.

Screenshots

image

image

Please complete the following information:

  • Library Version: [email protected]
  • Operating System: Windows 11
  • Browser: Brave 1.42.86 Chromium 104.0.5112.81 (Official Build) (64-bit)
  • Node Version: V18.5.0
@BurtHarris
Copy link

@jacksteamdev : Thanks for your work on this, are you maintaining this repo, or is there some better boilerplate you can point me to?

I'd be happy to contribute some PRs if you want to keep updating this.

@jacksteamdev
Copy link
Contributor

@BurtHarris Thanks for your kind messages. I've mostly moved on to developing CRXJS, a Vite plugin with all the features of this boilerplate, but adds true HMR. You can check it out at https://dev.to/jacksteamdev/create-a-vite-react-chrome-extension-in-90-seconds-3df7

@jacksteamdev
Copy link
Contributor

jacksteamdev commented Aug 15, 2022

@BurtHarris I'd happily merge some PRs if you'd like to contribute here!

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

No branches or pull requests

3 participants