Skip to content

Commit 93a35da

Browse files
committed
cleanup esbuild and build nmm script
1 parent ec41191 commit 93a35da

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

packages/replay/.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module.exports = {
1717
// TODO: Remove these after migration
1818
'scripts/**',
1919
'__mocks__/**',
20-
'rollup.config*.ts',
20+
'rollup.config.worker.js',
2121
],
2222
overrides: [
2323
{

packages/replay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"sideEffects": false,
99
"scripts": {
1010
"bootstrap": "yarn && cd demo && yarn #TODO: change after migration",
11-
"build": "yarn build:extras",
11+
"build": "yarn build:worker && run-p build:core build:types",
1212
"build:extras": "NODE_ENV=production yarn build:all",
1313
"build:dev": "NODE_ENV=development yarn build:all",
1414
"build:all": "run-s clean build:worker build:core",

packages/replay/rollup.npm.config.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,10 @@ export default makeNPMConfigVariants(
1010
packageSpecificConfig: {
1111
external: [...Object.keys(pkg.dependencies || {}), ...Object.keys(pkg.peerDependencies || {})],
1212
plugins: [
13+
// TODO: Remove this - replay version will be in sync w/ SDK version
1314
replace({
14-
// __SENTRY_DEBUG__ should be save to replace in any case, so no checks for assignments necessary
15-
preventAssignment: false,
1615
values: {
1716
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
18-
// // @ts-ignore not gonna deal with types here
19-
// __SENTRY_DEBUG__: true,
20-
// // @ts-ignore not gonna deal with types here
21-
// __DEBUG_BUILD__: true,
2217
},
2318
}),
2419
],

0 commit comments

Comments
 (0)