Skip to content

briantingtc/sendbird-issue-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo was created just to illustrate how @babel/plugin-transform-modules-commonjs in the babel transpile pluginchain would break @sendbird/uikit-react.

Instructions

  1. pnpm install && pnpm start

  2. Navigate to http://localhost:8080

  3. Open the js dev console, you should see: TypeError: SendbirdChat.init is not a function

  4. To confirm that @babel/plugin-transform-modules-commonjs is the culprit, comment it out in babel.config.js and rerun steps 1 and 2:

    // in `babel.config.js`
    plugins: [
      // '@babel/plugin-transform-modules-commonjs',

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published