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

Feature: Should handle multiple output #27

Closed
nonzzz opened this issue Apr 20, 2023 · 0 comments
Closed

Feature: Should handle multiple output #27

nonzzz opened this issue Apr 20, 2023 · 0 comments
Assignees
Labels
feature I have a idea

Comments

@nonzzz
Copy link
Owner

nonzzz commented Apr 20, 2023

Feature request 🚀

Expected:

Vite set multiple output should be support.
see #26. If user pass the rollupOptions. the preset outDir won't be work. So what about passing in multiple outputs?

Examples:

export default defineConfig({
 build: {
    rollupOptions: {
      output: [{ dir: 'es' }, { dir: 'cjs' }]
    }
  },
})
@nonzzz nonzzz added the feature I have a idea label Apr 20, 2023
@nonzzz nonzzz self-assigned this Apr 20, 2023
@nonzzz nonzzz closed this as completed Apr 20, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature I have a idea
Projects
None yet
Development

No branches or pull requests

1 participant