diff --git a/scripts/copyFiles.mjs b/scripts/copyFiles.mjs index 9237d6fb2b9b..d5c919810f64 100644 --- a/scripts/copyFiles.mjs +++ b/scripts/copyFiles.mjs @@ -121,9 +121,11 @@ async function prepend(file, string) { } async function addLicense(packageData) { - const license = `/** @license MUI v${packageData.version} + const license = `/** @license MUI X v${packageData.version} * - * This source code is licensed under the MIT license found in the + * This source code is licensed under the ${ + packageData.license === 'MIT' ? 'MIT license' : 'commercial license' + } found in the * LICENSE file in the root directory of this source tree. */ `;