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 1414    "lint:fix" : " biome check --write" 
1515    "clean" : " rimraf dist" 
1616    "prebuild" : " pnpm clean && pnpm lint" 
17-     "build" : " rollup -c" 
17+     "build" : " rollup -c --configPlugin typescript " 
1818  },
1919  "nano-staged" : {
2020    "*.{ts,json}" : " biome check --write --no-errors-on-unmatched" 
Original file line number Diff line number Diff line change 11import  terser  from  '@rollup/plugin-terser' 
22import  typescript  from  '@rollup/plugin-typescript' 
3+ import  type  {  RollupOptions  }  from  'rollup' 
34import  {  dts  }  from  'rollup-plugin-dts' 
45import  nodeExternals  from  'rollup-plugin-node-externals' 
56import  tsConfigPaths  from  'rollup-plugin-tsconfig-paths' 
67import  pkg  from  './package.json'  with  {  type : 'json'  } 
78
89const  {  main,  types }  =  pkg 
9- const  bundle  =  options  =>  ( { 
10+ 
11+ const  bundle  =  ( options : RollupOptions ) : RollupOptions  =>  ( { 
1012  ...options , 
1113  input : 'src/index.ts' 
1214} ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments