Skip to content

Commit

Permalink
build: enable debug logging for esbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanraj-r committed May 3, 2022
1 parent d05c96d commit b892421
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-apex-debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
],
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
],
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-apex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
},
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-lightning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-lwc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
],
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-soql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"test:vscode-integration": "node ../../scripts/run-vscode-integration-tests-with-top-level-extensions",
"test:vscode-insiders-integration": "cross-env CODE_VERSION=insiders npm run test:vscode-integration",
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/index.ts --bundle --outfile=out/src/index.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/salesforcedx-vscode-visualforce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
],
"scripts": {
"vscode:prepublish": "pnpm run esbuild",
"esbuild": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node --minify --log-level=debug",
"vscode:package": "vsce package --no-dependencies",
"vscode:sha256": "node ../../scripts/generate-sha256.js >> ../../SHA256",
"vscode:publish": "node ../../scripts/publish-vsix.js",
Expand Down

0 comments on commit b892421

Please sign in to comment.