Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: fix cjs bundle #1777

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

fix: fix cjs bundle #1777

wants to merge 1 commit into from

Conversation

anlyyao
Copy link
Collaborator

@anlyyao anlyyao commented Feb 28, 2025

  • fix: cjs bundle 的依赖报错问题

reference: Tencent/tdesign-vue-next#5116

Copy link

pkg-pr-new bot commented Feb 28, 2025

Open in Stackblitz

npm i https://pkg.pr.new/tdesign-mobile-vue@1777

commit: edc57e1

Copy link
Contributor

完成

@@ -21,7 +21,7 @@ import pkg from '../package.json';

const name = 'tdesign';
const esExternalDeps = Object.keys(pkg.dependencies || {});
const externalDeps = esExternalDeps.concat([/lodash/, /@babel\/runtime/]);
const externalDeps = esExternalDeps.concat([/@babel\/runtime/]);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@babel/runtime 也可以去掉了

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants