refactor: optimize error handling and npm install performance
Remove redundant error type handling in webcontainer to simplify logic and improve maintainability. Additionally, comment out lock file patterns to speed up npm install process.
This commit is contained in:
@@ -31,7 +31,8 @@ const IGNORE_PATTERNS = [
|
||||
'**/npm-debug.log*',
|
||||
'**/yarn-debug.log*',
|
||||
'**/yarn-error.log*',
|
||||
'**/*lock.json',
|
||||
|
||||
// Include this so npm install runs much faster '**/*lock.json',
|
||||
'**/*lock.yaml',
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user