Skip to content

Conversation

@remcohaszing
Copy link
Contributor

  • checkJs type checks JavaScript files and allows importing them.
  • Modern module options alow us to use import.meta. The preserve value is correct for bundlers.
  • forceConsistentCasingInFileNames is enabled by default, so it’s redundant.
  • The vite/client types allow us to use Vite supported imports, such as CSS files.
  • By removing include, we include everything supported. This includes the .mjs file.

cc @hediet

- `checkJs` type checks JavaScript files and allows importing them.
- Modern `module` options alow us to use `import.meta`. The `preserve`
  value is correct for bundlers.
- `forceConsistentCasingInFileNames` is enabled by default, so it’s
  redundant.
- The `vite/client` types allow us to use Vite supported imports, such
  as CSS files.
- By removing `include`, we include everything supported. This includes
  the `.mjs` file.
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.

2 participants