File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 88    "test:unit" : " exit 0; vitest --typecheck" 
99  },
1010  "type" : " module"  ,
11-   "types" : " dist/esm /index.d.ts"  ,
11+   "types" : " dist/types /index.d.ts"  ,
1212  "main" : " dist/cjs/index.cjs"  ,
1313  "module" : " dist/esm/index.js"  ,
1414  "exports" : {
1919      },
2020      "require" : {
2121        "types" : " ./dist/types/index.d.ts"  ,
22-         "default" : " ./dist/cjs/index.js " 
22+         "default" : " ./dist/cjs/index.cjs " 
2323      }
2424    },
2525    "./package.json" : " ./package.json" 
Original file line number Diff line number Diff line change 11import  path  from  'node:path' 
2- import  {  defineConfig  }  from  'vitest/config' 
2+ import  {  fileURLToPath  }  from  'node:url' 
3+ import  {  defineConfig  }  from  'vite' 
34import  dts  from  'vite-plugin-dts' 
45
6+ const  __dirname  =  fileURLToPath ( new  URL ( '.' ,  import . meta. url ) ) 
7+ 
58export  default  defineConfig ( { 
69  build : { 
710    ssr : true , 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments