guocaoyi / create-chrome-ext

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

What's meaning of tsconfig.node.json in react-ts template? #26

Open ederzz opened 1 year ago

ederzz commented 1 year ago

As title, after init project via react-ts-template, i got err in vite.config.ts:

'xxx/src/manifest.ts' is not listed within the file list of project 'xxx/tsconfig.node.json'. Projects must list all files or use an 'include' pattern.ts(6307)

Why set references field to tsconfig.node.json in tsconfig.json?

ederzz commented 1 year ago

I think it doesn't matter.