#i have installed plugin "typescript-plugin-css-modules": "^5.1.0"
1 messages · Page 1 of 1 (latest)
Hi @verbal sandal. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided in the knowledge sources, it appears that you are trying to configure TypeScript plugins in your tsconfig.json file. However, the knowledge sources only provide information about adding the next plugin for Next.js applications using TypeScript. There is no mention of the typescript-plugin-css-modules in the provided extracts.
To ensure that your tsconfig.json is correctly configured for the next plugin, you should have the following configuration:
{
"compilerOptions": {
"plugins": [
{
"name": "next"
}
]
}
}
For more information on configuring TypeScript with Next.js, you can refer to the Next.js documentation (https://nextjs.org/docs/app/building-your-application/configuring/typescript#using-the-typescript-plugin).
Since there is no information about the typescript-plugin-css-modules in the provided knowledge sources, I cannot provide specific guidance on why it might not be working. You may want to consult the documentation for typescript-plugin-css-modules or seek help from the community forums or support channels for that specific plugin.
If you need further assistance with Next.js and TypeScript configuration, you can refer to the Next.js TypeScript documentation (https://nextjs.org/docs/app/building-your-application/configuring/typescript).