-
| Is there a way to apply following setting using rolldown-vite?  | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            vdate360
          
      
      
        Sep 2, 2025 
      
    
    Replies: 1 comment 1 reply
-
| Hi @palasjir! Try use  // vite.config.ts
build: {
  rollupOptions: {
    external: ['os', 'child_process', 'worker_threads']
  }
}That should fix it. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        palasjir
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Hi @palasjir!
Try use
build.rollupOptions.externalinstead.That should fix it.