We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93fd6bc commit 01957bfCopy full SHA for 01957bf
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "rsbuild-plugin-tailwindcss",
3
- "version": "0.2.1",
+ "version": "0.2.2",
4
"repository": "https://github.com/rspack-contrib/rsbuild-plugin-tailwindcss",
5
"license": "MIT",
6
"type": "module",
src/TailwindCSSRspackPlugin.ts
@@ -379,7 +379,9 @@ class TailwindRspackPluginImpl {
379
): Promise<string> {
380
const require = createRequire(import.meta.url);
381
const pkgPath = require.resolve('tailwindcss/package.json', {
382
- paths: [tailwindcssPath ? path.dirname(tailwindcssPath) : this.compiler.context],
+ paths: [
383
+ tailwindcssPath ? path.dirname(tailwindcssPath) : this.compiler.context,
384
+ ],
385
});
386
387
const content = await readFile(pkgPath, 'utf-8');
0 commit comments