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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user