Skip to content

Commit 2a8ef40

Browse files
authored
build(serverless): Remove unused build check (#10829)
It seems this is failing (sometimes?) and I don't think we need it anymore. e.g. see https://github.com/getsentry/sentry-javascript/actions/runs/8067785899/job/22039493880?pr=10825
1 parent e8c523d commit 2a8ef40

File tree

2 files changed

+0
-164
lines changed

2 files changed

+0
-164
lines changed

packages/serverless/scripts/buildLambdaLayer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import * as childProcess from 'child_process';
33
import * as fs from 'fs';
44
import * as rimraf from 'rimraf';
55

6-
import { ensureBundleBuildPrereqs } from '../../../scripts/ensure-bundle-deps';
76
import { version } from '../package.json';
87

98
/**
@@ -16,10 +15,6 @@ function run(cmd: string, options?: childProcess.ExecSyncOptions): string {
1615

1716
async function buildLambdaLayer(): Promise<void> {
1817
// Create the main SDK bundle
19-
// TODO: Check if we can get rid of this, after the lerna 6/nx update??
20-
await ensureBundleBuildPrereqs({
21-
dependencies: ['@sentry/utils', '@sentry/core', '@sentry/node-experimental'],
22-
});
2318
run('yarn rollup --config rollup.aws.config.mjs');
2419

2520
// We build a minified bundle, but it's standing in for the regular `index.js` file listed in `package.json`'s `main`

scripts/ensure-bundle-deps.ts

Lines changed: 0 additions & 159 deletions
This file was deleted.

0 commit comments

Comments
 (0)