We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 232474a commit 84fc0feCopy full SHA for 84fc0fe
rolldown.config.ts
@@ -1,9 +1,8 @@
1
import fs from 'node:fs'
2
import path from 'node:path'
3
-import { RolldownPlugin } from 'rolldown'
4
-
5
-import { defineConfig } from 'rolldown'
+import { defineConfig, RolldownPlugin } from 'rolldown'
6
import license from 'rollup-plugin-license'
+import packageJson from './package.json' with { type: 'json' }
7
8
const CORE_LICENSE = `MIT License
9
@@ -152,6 +151,7 @@ export default defineConfig({
152
151
output: {
153
format: 'esm',
154
file: 'bundle.js',
+ banner: `/*! create-vue v${packageJson.version} | MIT */`,
155
},
156
platform: 'node',
157
plugins: [
0 commit comments