Skip to content

Commit

Permalink
fix: excluding schema from bundling to avoid warning (#6000)
Browse files Browse the repository at this point in the history
* fix: excluding schema from bundling to avoid warning

* fix: excluding schema from bundling to avoid warning
  • Loading branch information
madhur310 authored Jan 10, 2025
1 parent 426a72d commit 885c3a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-core/esbuild.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const sharedConfig = {
bundle: true,
format: 'cjs',
platform: 'node',
external: ['vscode', 'applicationinsights', 'shelljs'],
external: ['vscode', 'applicationinsights', 'shelljs', '@salesforce/schemas'],
minify: true,
keepNames: true,
plugins: [esbuildPluginPino({ transports: ['pino-pretty'] })],
Expand Down
3 changes: 2 additions & 1 deletion packages/salesforcedx-vscode-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
"main": "dist/src/index.js",
"dependencies": {
"applicationinsights": "1.0.7",
"shelljs": "0.8.5"
"shelljs": "0.8.5",
"@salesforce/schemas": "1.9.0"
},
"devDependencies": {}
}
Expand Down

0 comments on commit 885c3a4

Please sign in to comment.