activeguild / vite-plugin-sass-dts

This is a plugin that automatically creates a type file when using the CSS module type-safely.
MIT License
116 stars 18 forks source link

Building the example fails #93

Closed iPapatsoris closed 4 months ago

iPapatsoris commented 4 months ago

Hi,

By running yarn build in /example/react-sass on master branch, I get

Error: Unexpected early exit. This happens when Promises returned by plugins cannot resolve. Unfinished hook action(s) on exit: (vite:css) transform "vite-plugin-sass-dts-master/example/react-sass/src/App.module.scss" at process.handleBeforeExit (file:///vite-plugin-sass-dts-master/example/react-sass/node_modules/rollup/dist/es/shared/node-entry.js:19948:28) at Object.onceWrapper (node:events:628:26) at process.emit (node:events:513:28)

Dev mode doesn't seem to work either, when loading the page it looks like it's stuck in a loop.

activeguild commented 4 months ago

@iPapatsoris

Hi!!

Fixed /example/react-sass to get the build to pass. Check it out.