这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: support named entry in api mode #391

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 24, 2021
Merged

feat: support named entry in api mode #391

merged 2 commits into from
Sep 24, 2021

Conversation

tmkx
Copy link
Contributor

@tmkx tmkx commented Aug 20, 2021

No description provided.

@vercel
Copy link

vercel bot commented Aug 20, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/egoist/tsup/3qgRaHucHR8wNC2ydNRCHS1f2wQq
✅ Preview: https://tsup-git-fork-tmkx-feat-api-named-entry-egoist.vercel.app

@tmkx
Copy link
Contributor Author

tmkx commented Aug 30, 2021

Hello, could you review this PR?

@tmkx
Copy link
Contributor Author

tmkx commented Sep 23, 2021

tsup/src/index.ts

Lines 355 to 360 in f7cae28

// Ensure entry exists
if (!options.entryPoints || options.entryPoints.length === 0) {
throw new PrettyError(`Cannot find ${input}`)
} else {
log('CLI', 'info', `Building entry: ${options.entryPoints.join(', ')}`)
}

if input is an array, files' existence will not be checked neither?

@tmkx
Copy link
Contributor Author

tmkx commented Sep 23, 2021

tsup/src/index.ts

Lines 355 to 360 in f7cae28

// Ensure entry exists
if (!options.entryPoints || options.entryPoints.length === 0) {
throw new PrettyError(`Cannot find ${input}`)
} else {
log('CLI', 'info', `Building entry: ${options.entryPoints.join(', ')}`)
}

if input is an array, files' existence will not be checked neither?

Sorry, I got it.

@github-actions
Copy link
Contributor

🎉 This PR is included in version 5.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@tmkx tmkx deleted the feat/api-named-entry branch September 24, 2021 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants