File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
import replace from '@rollup/plugin-replace' ;
2
2
import typescript from '@rollup/plugin-typescript' ;
3
3
import { defineConfig } from 'rollup' ;
4
+ import resolve from '@rollup/plugin-node-resolve' ;
4
5
5
6
import pkg from '../package.json' ;
6
7
@@ -24,6 +25,9 @@ const config = defineConfig({
24
25
typescript ( {
25
26
tsconfig : './tsconfig.json' ,
26
27
} ) ,
28
+ resolve ( {
29
+ resolveOnly : [ 'rrweb' ] ,
30
+ } ) ,
27
31
replace ( {
28
32
// __SENTRY_DEBUG__ should be save to replace in any case, so no checks for assignments necessary
29
33
preventAssignment : false ,
Original file line number Diff line number Diff line change 51
51
"@types/pako" : " ^2.0.0" ,
52
52
"jsdom-worker" : " ^0.2.1" ,
53
53
"pako" : " ^2.0.4" ,
54
+ "rrweb" : " 1.1.3" ,
54
55
"tslib" : " ^1.9.3"
55
56
},
56
57
"dependencies" : {
57
58
"@sentry/core" : " 7.22.0" ,
58
59
"@sentry/types" : " 7.22.0" ,
59
60
"@sentry/utils" : " 7.22.0" ,
60
- "lodash.debounce" : " ^4.0.8" ,
61
- "rrweb" : " 1.1.3"
61
+ "lodash.debounce" : " ^4.0.8"
62
62
},
63
63
"peerDependencies" : {
64
64
"@sentry/browser" : " 7.22.0"
You can’t perform that action at this time.
0 commit comments