guocaoyi / create-chrome-ext

🍺 Scaffolding your Chrome extension! Boilerplates: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla
MIT License
1.64k stars 118 forks source link

Add `jsconfig.json` in the template #36

Closed rational-kunal closed 1 year ago

rational-kunal commented 1 year ago

I've created some Chrome extensions using this tool and I always include a jsconfig.json file to enable automatic completion of the Chrome APIs. I suggest including a jsconfig.json in the basic templates.

Here's a sample of a jsconfig.json file:

{"typeAcquisition": {"include": ["chrome"]}}

References:

guocaoyi commented 1 year ago

you can pull requests