windicss / windicss-webpack-plugin

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

types: default exports doesn't work in commonjs #99

Closed oyzhen closed 2 years ago

oyzhen commented 2 years ago

Describe the bug types: default exports doesn't work in commonjs.

Steps Enable ts-check in next.config.js

// @ts-check

Then, ts-check error occurs:

image image

harlan-zw commented 2 years ago

This one should have been solved to the migration to unbuild, going to close it off. Please re-open if it's still an issue