Skip to content

Commit 85af813

Browse files
committed
rename rollup core config
1 parent 243f440 commit 85af813

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

packages/replay/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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",
15-
"build:core": "yarn build:actualRollup --config rollup.config.core.js",
15+
"build:core": "yarn build:actualRollup --config rollup.npm.config.js",
1616
"build:worker": "yarn build:actualRollup --config rollup.config.worker.js",
1717
"build:actualRollup": "rollup",
1818
"build:watch": "NODE_ENV=production yarn build:all:watch",

packages/replay/rollup.config.core.js renamed to packages/replay/rollup.npm.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { defineConfig } from 'rollup';
44

55
import pkg from './package.json';
66

7-
const IS_PRODUCTION = process.env.NODE_ENV === 'production';
8-
97
const config = defineConfig({
108
input: './src/index.ts',
119
output: [
@@ -30,9 +28,9 @@ const config = defineConfig({
3028
values: {
3129
__SENTRY_REPLAY_VERSION__: JSON.stringify(pkg.version),
3230
// @ts-ignore not gonna deal with types here
33-
__SENTRY_DEBUG__: !IS_PRODUCTION,
31+
__SENTRY_DEBUG__: true,
3432
// @ts-ignore not gonna deal with types here
35-
__DEBUG_BUILD__: false,
33+
__DEBUG_BUILD__: true,
3634
},
3735
}),
3836
],

0 commit comments

Comments
 (0)