Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve compat with ts in node16/bundler mode (#145)
when using the newer resolution and module modes of typescript, it could pick up `./lib/scss-syntax.mjs`, which does not have a `.d.ts` file next to it. added the `"types"` condition to ensure imports to `"postcss-scss"` always get a type, no matter if they are sourced in commonjs or esm.
- Loading branch information