windicss / windicss-webpack-plugin

🍃 Windi CSS for webpack ⚡
https://windicss.org/integrations/webpack.html
79 stars 19 forks source link

why example run has error? #113

Closed jetBn closed 2 years ago

jetBn commented 2 years ago

image

await-ovo commented 2 years ago

example/next use local windicss-webpack-plugin, maybe we should run pnpm i at the root of the repository, then build it, then run dev in exmaple/next and we shouldn't run into this error~

harlan-zw commented 2 years ago

Thanks @await-ovo, that's right.

The proper workflow to use the example would be:

The use of different package managers is a bit hacky but it was my solution to avoid hoisting issues with frameworks having different majors

harlan-zw commented 2 years ago

Actually, I think this was an issue introduced with https://github.com/windicss/windicss-webpack-plugin/pull/110 where the client isn't packaged

harlan-zw commented 2 years ago

Fixed in 1.7.3