I am finding tests failing on the main branch with the message:
src/loaders/postcss/index.ts:6:21 - error TS7016: Could not find a declaration file for module 'cssnano'. 'D:/dev/libs/rollup-plugin-styles/node_modules/.pnpm/cssnano@5.0.16_postcss@8.4.5/node_modules/cssnano/dist/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/cssnano` if it exists or add a new declaration (.d.ts) file containing `declare module 'cssnano';`
When I reviewed the cssnano repo, I found that before 5.1.0, types were provided separately. This main branch uses 5.0.16_postcss@8.4.5
So either we need to bump cssnano or add @types/cssnano@5.0.0 .
I am finding tests failing on the main branch with the message:
When I reviewed the cssnano repo, I found that before 5.1.0, types were provided separately. This main branch uses 5.0.16_postcss@8.4.5
So either we need to bump cssnano or add @types/cssnano@5.0.0 .
node -v: 14.19.0 LTS OS: Windows 10 x64