cmseguin / rollup-plugin-react-scoped-css

A rollup plugin designed to allow scoped css to be run in react (Compatible with vite and rollup)
38 stars 6 forks source link

[bug] Releases 0.0.8 will throw an error when starting server #41

Closed Wei0809 closed 1 year ago

Wei0809 commented 1 year ago

npm create vite@latest

use the plugin

npm run dev

Cannot find module '/***/node_modules/rollup-plugin-react-scoped-css/dist/ast-program' imported from /***/node_modules/rollup-plugin-react-scoped-css/dist/index.js

and it's correct in Releases 0.0.7

cmseguin commented 1 year ago

Hi, can you give me a little more info regarding your node version and the version of vite you are using :) thank you

Wei0809 commented 1 year ago

Hi, can you give me a little more info regarding your node version and the version of vite you are using :) thank you

node v18.12.1 vite @latest can't recurring?

cmseguin commented 1 year ago

When I was working on 0.8.0 yesterday on the newest version of vite it was working fine. But I will try to reproduce fix this asap.

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 0.8.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: