scripts/build.js
@@ -1,4 +1,6 @@ const path = require('path'); const fs = require('fs-extra'); const { copyFile, distDir, @@ -11,7 +13,10 @@ firstCustomerName, checkCustomer, formatDate, logSuccess logSuccess, logWarn, rootDir, publicDir } = require('./helper'); const { execSync } = require('child_process'); if (customerList?.length !== 1) { @@ -20,6 +25,9 @@ } checkCustomer('npm run build', firstCustomerName); copyFile(); // 更改 import.meta.glob updateImportGlob(); try {