File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -135,15 +135,14 @@ const fullBrowserBundle = ({ min } = { min: false }) => ({
135135 ...baseConfig ,
136136 output : [
137137 {
138- extend : true , // extend window, not overwrite it
139138 file : min ? pkg . jsdelivr : pkg . jsdelivr . replace ( '.min' , '' ) ,
140139 format : 'iife' ,
141140 globals : {
142141 react : 'React' ,
143142 'react-dom' : 'ReactDOM' ,
144143 'stream-chat' : 'StreamChat' ,
145144 } ,
146- name : 'window ' , // write all exported values to window
145+ name : 'StreamChatReact ' , // write all exported values to window under key StreamChatReact
147146 sourcemap : true ,
148147 } ,
149148 ] ,
@@ -165,7 +164,7 @@ const fullBrowserBundle = ({ min } = { min: false }) => ({
165164 globals : false ,
166165 process : true ,
167166 } ) ,
168- // To work with globals rollup expects them to be namespaced, what is not the case with stream-chat.
167+ // To work with globals rollup expects them to be namespaced, which is not the case with stream-chat.
169168 // This injects some code to define stream-chat globals as expected by rollup.
170169 prepend (
171170 'window.StreamChat.StreamChat=StreamChat;window.StreamChat.logChatPromiseExecution=logChatPromiseExecution;window.StreamChat.Channel=Channel;window.ICAL=window.ICAL||{};' ,
Original file line number Diff line number Diff line change 1- export const version = '6.0.1 ' ;
1+ export const version = '6.0.2 ' ;
You can’t perform that action at this time.
0 commit comments