Release 1.5.0
- chore(pkg): fix ESM / CJS builds
38fad03 - fix(css): avoid transforming css without directives or theme function
f6b9977 - fix(pkg): main branch rename
4befb89
Breaking Change
The plugin now correctly exports both CJS and ESM modules. If you previously had the import code as
const WindiCSSWebpackPlugin = require('windicss-webpack-plugin').defaultYou should change it to
const WindiCSSWebpackPlugin = require('windicss-webpack-plugin')