Skip to content
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

Support targetEnv option lib-browser and lib-node #1226

Open
wre232114 opened this issue Apr 21, 2024 · 0 comments
Open

Support targetEnv option lib-browser and lib-node #1226

wre232114 opened this issue Apr 21, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@wre232114
Copy link
Member

What problem does this feature solve?

Optimize production when build library

What does the proposed API look like?

export default defineConfig({
    compilation: { output: { targetEnv: 'lib-browser' }}
})
@wre232114 wre232114 self-assigned this Apr 21, 2024
@wre232114 wre232114 added this to the V1.2.0 milestone Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant