2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(config): adjust rollup config to preserve license header to minified JavaScript (#6777)

This commit is contained in:
Willian Agostini
2025-02-09 06:15:25 -03:00
committed by GitHub
parent 30966a79cb
commit 4a3e26cf65
+1 -1
View File
@@ -60,7 +60,7 @@ const buildConfig = ({es5, browser = true, minifiedVersion = true, alias, ...con
export default async () => {
const year = new Date().getFullYear();
const banner = `// Axios v${lib.version} Copyright (c) ${year} ${lib.author} and contributors`;
const banner = `/*! Axios v${lib.version} Copyright (c) ${year} ${lib.author} and contributors */`;
return [
// browser ESM bundle for CDN