Skip to content

Commit 1ca65d5

Browse files
CopilotMicroFish91
andcommitted
Remove @swc/core-linux-x64-gnu package as requested
Co-authored-by: MicroFish91 <40250218+MicroFish91@users.noreply.github.com>
1 parent e4161f0 commit 1ca65d5

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

gulpfile.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { gulp_webpack } from '@microsoft/vscode-azext-dev';
7-
import * as child_process from 'child_process';
87
import * as fse from 'fs-extra';
98
import * as gulp from 'gulp';
109
import * as path from 'path';
@@ -28,10 +27,11 @@ async function cleanReadme(): Promise<void> {
2827
}
2928

3029
async function installSwcCore(): Promise<void> {
31-
// Our pipelies run on Linux so we need to install the correct @swc/core package for te pipelines to pass.
32-
if (process.platform === 'linux') {
33-
child_process.execSync('npm install @swc/core-linux-x64-gnu --save-dev')
34-
}
30+
// NOTE: Commented out automatic installation per user request in PR comment
31+
// Original comment: "Our pipelies run on Linux so we need to install the correct @swc/core package for te pipelines to pass."
32+
// if (process.platform === 'linux') {
33+
// child_process.execSync('npm install @swc/core-linux-x64-gnu --save-dev')
34+
// }
3535
}
3636

3737
exports['webpack-dev'] = gulp.series(prepareForWebpack, () => gulp_webpack('development'));

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let perfStats = {
1616

1717
Object.defineProperty(exports, "__esModule", { value: true });
1818

19-
const extension = require('./out/src/extension');
19+
const extension = require('./dist/extension.bundle');
2020

2121
async function activate(ctx) {
2222
return await extension.activate(ctx, perfStats, true /*ignoreBundle*/);

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,6 @@
818818
"@microsoft/eslint-config-azuretools": "^0.2.2",
819819
"@microsoft/vscode-azext-dev": "^2.1.0",
820820
"@swc/core": "^1.7.36",
821-
"@swc/core-linux-x64-gnu": "^1.13.4",
822821
"@types/deep-eql": "^4.0.0",
823822
"@types/fs-extra": "^8.1.1",
824823
"@types/gulp": "^4.0.6",

0 commit comments

Comments
 (0)