-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
Description
Describe the bug
when i do build lib with config "rollupOptions.output.banner",why I found three different effects ,and the code is error for umd
the banner like this:
const banner = `//
/*!
*----------------------------------------------------
* ${pkg.name} v${pkg.version}
* (c) ${new Date().getFullYear()} @${pkg.author.name}.
* Released under the ${pkg.license} License.
*-----------------------------------------------------
!*///
`;
Reproduction
Reproduction
System Info
vite2 vue3 ts
Used Package Manager
yarn
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.