From 4a3e26cf65bb040b7eb4577d5fd62199b0f3d017 Mon Sep 17 00:00:00 2001 From: Willian Agostini Date: Sun, 9 Feb 2025 06:15:25 -0300 Subject: [PATCH] chore(config): adjust rollup config to preserve license header to minified JavaScript (#6777) --- rollup.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rollup.config.js b/rollup.config.js index b80970a6..3deab308 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -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