File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ const plugins = (options = { browser: false }) => {
43
43
replace ( {
44
44
preventAssignment : true ,
45
45
values : {
46
- 'rollupProcess .browser' : options . browser
46
+ 'process .browser' : options . browser
47
47
}
48
48
} ) ,
49
49
commonjs ( { extensions : [ '.js' , '.ts' ] } ) ,
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ declare let require: Function;
35
35
declare let global : any ;
36
36
declare const self : unknown ;
37
37
// eslint-disable-next-line @typescript-eslint/no-explicit-any
38
- declare let rollupProcess : any ; // Used by @rollup /plugin-replace
38
+ declare let process : any ; // Used by @rollup /plugin-replace
39
39
40
40
const detectRandomBytes = ( ) : RandomBytesFunction => {
41
- if ( rollupProcess . browser ) {
41
+ if ( process . browser ) {
42
42
if ( typeof window !== 'undefined' ) {
43
43
// browser crypto implementation(s)
44
44
const target = window . crypto || window . msCrypto ; // allow for IE11
You can’t perform that action at this time.
0 commit comments