Skip to content

Commit 4a3e26c

Browse files
chore(config): adjust rollup config to preserve license header to minified JavaScript (#6777)
1 parent 30966a7 commit 4a3e26c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const buildConfig = ({es5, browser = true, minifiedVersion = true, alias, ...con
6060

6161
export default async () => {
6262
const year = new Date().getFullYear();
63-
const banner = `// Axios v${lib.version} Copyright (c) ${year} ${lib.author} and contributors`;
63+
const banner = `/*! Axios v${lib.version} Copyright (c) ${year} ${lib.author} and contributors */`;
6464

6565
return [
6666
// browser ESM bundle for CDN

0 commit comments

Comments
 (0)