Skip to content

Commit 01957bf

Browse files
authored
chore: release v0.2.2 (#57)
1 parent 93fd6bc commit 01957bf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rsbuild-plugin-tailwindcss",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"repository": "https://github.com/rspack-contrib/rsbuild-plugin-tailwindcss",
55
"license": "MIT",
66
"type": "module",

src/TailwindCSSRspackPlugin.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,9 @@ class TailwindRspackPluginImpl {
379379
): Promise<string> {
380380
const require = createRequire(import.meta.url);
381381
const pkgPath = require.resolve('tailwindcss/package.json', {
382-
paths: [tailwindcssPath ? path.dirname(tailwindcssPath) : this.compiler.context],
382+
paths: [
383+
tailwindcssPath ? path.dirname(tailwindcssPath) : this.compiler.context,
384+
],
383385
});
384386

385387
const content = await readFile(pkgPath, 'utf-8');

0 commit comments

Comments
 (0)