We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a202532 commit 896f56aCopy full SHA for 896f56a
vue.config.js
@@ -55,6 +55,11 @@ module.exports = {
55
},
56
productionSourceMap: false,
57
configureWebpack: (config) => {
58
+ const crypto = require('crypto');
59
+ const crypto_orig_createHash = crypto.createHash;
60
+ crypto.createHash = (algorithm) =>
61
+ crypto_orig_createHash(algorithm == 'md4' ? 'sha256' : algorithm);
62
+
63
const envName = process.env.VUE_APP_ENV_NAME;
64
const hasCustomStore = process.env.CUSTOM_STORE === 'true' ? true : false;
65
const hasCustomRouter = process.env.CUSTOM_ROUTER === 'true' ? true : false;
0 commit comments