Open
Description
First, really thanks for this project! I've used this for a long time.
Today, I am upgrading the plugin to v5, but after upgrading, seems the Vscode cannot detected my scss module files with this plugin anymore.
I have a customer global.d.ts
files specifying the type
declare module '*.module.css' {
const classes: { readonly [key: string]: string };
export default classes;
}
declare module '*.module.scss' {
const classes: { readonly [key: string]: string };
export default classes;
}
But in the v5 version of this plugin, it shows the following error
File '/project/src/App.module.scss' is not listed within the file list of project '/project/tsconfig.json'. Projects must list all files or use an 'include' pattern.
But actually, the file already included in the tsconfig.json
. If I remove this plugin or downgrade to the v4 version, then the above error will disappear.
And I have a very weird experience with the typescript v5 with this plugin also.
- If I use typescript v5 with this plugin v5, then above error is showing and the style intellisense is not working.
- If I use typescript v5 with this plugin v4, then above error is not showing and the style intellisense is not working.
- If I use typescript v4 with this plugin v5, then above error is showing, but intellisense is working fine.
- If I use typescript v4 with this plugin v4, then everything is working.
Any ideas about this in v5 version?