diff --git a/ace-loader/main.product.js b/ace-loader/main.product.js index 36f01e5..22a0efe 100644 --- a/ace-loader/main.product.js +++ b/ace-loader/main.product.js @@ -135,13 +135,7 @@ function validateCardModule(moduleJsonConfig) { } function hashProjectPath(projectPath) { - const ASSCIIStart = 65; - const ASSCIIEnd = 90; - const deviation = 1; - process.env.hashProjectPath = - String.fromCharCode(Math.floor(Math.random() * (ASSCIIEnd - ASSCIIStart + deviation) + ASSCIIStart)) + - md5(projectPath).substring(9, 16) + - String.fromCharCode(Math.floor(Math.random() * (ASSCIIEnd - ASSCIIStart + deviation) + ASSCIIStart)); + process.env.hashProjectPath = "_" + md5(projectPath); } module.exports = {