mirror of
https://github.com/axios/axios.git
synced 2026-04-11 14:21:59 +08:00
chore(config): adjust rollup config to preserve license header to minified JavaScript (#6777)
This commit is contained in:
parent
30966a79cb
commit
4a3e26cf65
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user