As I understand it, vite-node would need two changes when running scripts this way: The -- separator shouldn't be required, and all args should be considered args of the calling script. The tsconfig.json for the script should be used.
 3 Matching Annotations
        
        - May 2025
- 
            
- 
  
- 
  Using vite-node with a shebang enables no-build workflows for utilities in monorepos, which can reduce complexity and improves DX. 
 
- 
  
- Feb 2022
- 
            
nehalist.io nehalist.io