Using pnpm catalog feature #3924
              
                Unanswered
              
          
                  
                    
                      JesusTheHun
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment
-
| no idea in vite, in webpack/rspack we can resolve version off the package.json of the package you actually import | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
When you use
pnpm's catalog feature, you can set the version of a package tocatalog:mf.If that package is shared, you want to set the version to the one if your package.json :
But this will lead to version comparison and resolution issue. Has anyone figured how to use catalogs without hardcoding the version in the vite config ?
Beta Was this translation helpful? Give feedback.
All reactions