File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rsbuild-plugin-tailwindcss" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"repository" : " https://github.com/rspack-contrib/rsbuild-plugin-tailwindcss" ,
5
5
"license" : " MIT" ,
6
6
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -379,7 +379,9 @@ class TailwindRspackPluginImpl {
379
379
) : Promise < string > {
380
380
const require = createRequire ( import . meta. url ) ;
381
381
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
+ ] ,
383
385
} ) ;
384
386
385
387
const content = await readFile ( pkgPath , 'utf-8' ) ;
You can’t perform that action at this time.
0 commit comments