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

✨ Fixed tsconfig.node.json include issue #721 #812

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,24 @@ Create a file named `manifest.json` next to `vite.config.js`.
}
```

## Note: make sure to update `tsconfig.node.json` file
When you update your `vite.config.ts` file then you should get an error called (down below)
```console
manifest.json is not listed within the file list of the project.
Projects must list all files or use an 'include' pattern.
```
Don't worry, you'll need to do a simple thing to solve this error.
- Open your `tsconfig.node.json` file from the project root directory.
- Then find the `include` property.
- Now update the array with this code. Besides, there is no need to change anything...
```json
{
"include": ["vite.config.ts", "manifest.json"]
}
```
> Now the error is gone.😊


## First development build

Time to run the dev command. 🤞
Expand Down