Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

when i build a lib, found this problem #8163

Closed
7 tasks done
CigoZim opened this issue May 13, 2022 · 0 comments
Closed
7 tasks done

when i build a lib, found this problem #8163

CigoZim opened this issue May 13, 2022 · 0 comments

Comments

@CigoZim
Copy link

CigoZim commented May 13, 2022

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

@vitejs vitejs locked and limited conversation to collaborators May 13, 2022
@bluwy bluwy converted this issue into discussion #8166 May 13, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

1 participant