docusaurus-plugin-sass
docusaurus-plugin-sass copied to clipboard
README.md setup instructions
Issue
I followed the README instructions to set up SCSS in my Docusaurus 3 repo.
When updating the module style name from styles.module.css
to styles.module.scss
, the import statements inside of the index.tsx
files throw a false error (the styles still work) of Cannot find module './styles.module.scss' or its corresponding type declarations.
Proposed Solution
Add instructions to the README to include setting up the type declarations file: typings.d.ts
declare module "*.module.scss"