File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 12
12
"build:extras" : " NODE_ENV=production yarn build:all" ,
13
13
"build:dev" : " NODE_ENV=development yarn build:all" ,
14
14
"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" ,
16
16
"build:worker" : " yarn build:actualRollup --config rollup.config.worker.js" ,
17
17
"build:actualRollup" : " rollup" ,
18
18
"build:watch" : " NODE_ENV=production yarn build:all:watch" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ import { defineConfig } from 'rollup';
4
4
5
5
import pkg from './package.json' ;
6
6
7
- const IS_PRODUCTION = process . env . NODE_ENV === 'production' ;
8
-
9
7
const config = defineConfig ( {
10
8
input : './src/index.ts' ,
11
9
output : [
@@ -30,9 +28,9 @@ const config = defineConfig({
30
28
values : {
31
29
__SENTRY_REPLAY_VERSION__ : JSON . stringify ( pkg . version ) ,
32
30
// @ts -ignore not gonna deal with types here
33
- __SENTRY_DEBUG__ : ! IS_PRODUCTION ,
31
+ __SENTRY_DEBUG__ : true ,
34
32
// @ts -ignore not gonna deal with types here
35
- __DEBUG_BUILD__ : false ,
33
+ __DEBUG_BUILD__ : true ,
36
34
} ,
37
35
} ) ,
38
36
] ,
You can’t perform that action at this time.
0 commit comments