rspack-contrib / rsbuild-plugin-tailwindcss

An Rsbuild plugin to integrate with Tailwind CSS
MIT License
12 stars 1 forks source link

[Bug] Error: [ERR_REQUIRE_ESM]: require() of ES Module /tmp/unit-v2h13040/tailwind.config.js #18

Open colinaaa opened 8 hours ago

colinaaa commented 8 hours ago

Version

rsbuild-plugin-tailwindcss v0.0.2 tailwindcss v3.2.4

Details

When using tailwindcss v3.2.4 with rsbuild-plugin-tailwindcss, an error occurs when loading the tailwind.config.js that rsbuild-plugin-tailwindcss generated.