File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 8282    "./styles" : " ./dist/style.css" 
8383    "./styles/*" : " ./src/styles/*" 
8484    "./tailwind.config" : {
85-       "types" : " ./dist/tailwind.config. d.ts" 
86-       "import" : " ./dist/tailwind.config.js " 
87-       "default" : " ./dist/tailwind.config.js " 
85+       "types" : " ./dist/tailwind.d.ts" 
86+       "import" : " ./dist/tailwind.mjs " 
87+       "default" : " ./dist/tailwind.mjs " 
8888    },
8989    "./theme/preset" : {
9090      "types" : " ./dist/theme/preset.d.ts" 
Original file line number Diff line number Diff line change 11import  type  {  Config  }  from  "tailwindcss" ; 
22import  type  {  PluginAPI  }  from  "tailwindcss/types/config" ; 
3- import  typography  from  "@tailwindcss/typography" ; 
4- import  animate  from  "tailwindcss-animate" ; 
53
64export  const  unraidPreset  =  { 
75  darkMode : [ 'selector' ,  '[data-mode="dark"]' ] , 
@@ -241,5 +239,5 @@ export const unraidPreset = {
241239      } ) , 
242240    } , 
243241  } , 
244-   plugins : [ typography ,   animate ] , 
242+   plugins : [ require ( '@tailwindcss/ typography' ) ,   require ( 'tailwindcss- animate' ) ] , 
245243}  satisfies  Partial < Config > ;  
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ export default function createConfig() {
5252          } , 
5353          entryFileNames : ( chunkInfo )  =>  { 
5454            if  ( chunkInfo . name  ===  'tailwind' )  { 
55-               return  '[name].config.js ' ; 
55+               return  '[name].mjs ' ; 
5656            }  else  { 
5757              return  '[name].js' ; 
5858            } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments