windicss / windicss-webpack-plugin

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

使用 windicss-webpack-plugin 构建项目时,插件中的 api.addBase 不生效 #128

Open ygnh-leo opened 1 year ago

ygnh-leo commented 1 year ago

在插件中使用

api.addBase({
h1:{
color:"red"
}
})

使用 postcss 插件构建的时候 css 产物中存在 使用 windicss-webpack-plugin 构建时, windicss layer base 为空