Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1937b3

Browse files
bteacexbrayat
authored andcommitted
feat: bundle file add banner
1 parent232474a commitc1937b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎rolldown.config.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
importfsfrom'node:fs'
22
importpathfrom'node:path'
3-
import{RolldownPlugin}from'rolldown'
4-
5-
import{defineConfig}from'rolldown'
3+
import{defineConfig,RolldownPlugin}from'rolldown'
64
importlicensefrom'rollup-plugin-license'
5+
importpackageJsonfrom'./package.json'with{type:'json'}
76

87
constCORE_LICENSE=`MIT License
98
@@ -152,6 +151,7 @@ export default defineConfig({
152151
output:{
153152
format:'esm',
154153
file:'bundle.js',
154+
banner:`/*! create-vue v${packageJson.version} | MIT */`,
155155
},
156156
platform:'node',
157157
plugins:[

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp