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

[Feature]: iife format type no bundle name config ? #4912

Closed
FeSeason opened this issue Nov 3, 2023 · 1 comment
Closed

[Feature]: iife format type no bundle name config ? #4912

FeSeason opened this issue Nov 3, 2023 · 1 comment

Comments

@FeSeason
Copy link

FeSeason commented Nov 3, 2023

What problem does this feature solve?

use iife format type, but no output library name config.

What does the proposed API look like?

hope api config such as [name] config in buildConfig:

{
      format: 'iife',
      target: 'es6',
      outDir: './dist/iife',
      name: 'appLibName',
},
@10Derozan
Copy link
Contributor

You can use global-name by esbuildOptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants