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 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" ,
Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments