diff --git a/package.json b/package.json index 07de41b31..ad843a2a1 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "author": "SendBird ", "license": "SEE LICENSE IN LICENSE.md", "peerDependencies": { - "@sendbird/chat": "^4.0.11", "css-vars-ponyfill": "^2.3.2", "date-fns": "^2.16.1", "prop-types": "^15.7.2", diff --git a/rollup.config.js b/rollup.config.js index 22f968bac..fde9b5063 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -38,7 +38,8 @@ module.exports = ({ }, ], external: [ - '@sendbird/chat', + // unbundled version of @sendbird/chat fails in production + // '@sendbird/chat', 'react-dom/server', 'prop-types', 'react', diff --git a/scripts/package.template.json b/scripts/package.template.json index 3796b42f4..32d1eda03 100644 --- a/scripts/package.template.json +++ b/scripts/package.template.json @@ -26,8 +26,7 @@ "date-fns": "^2.16.1", "prop-types": "^15.7.2", "react": "^16.8.6 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0", - "@sendbird/chat": "^4.0.11" + "react-dom": "^16.8.6 || ^17.0.0 || ^18.0.0" }, "dependencies": { "@sendbird/chat": "^4.0.11",