-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
umi下ajv6.4.0,无法正常打包,报错 #426
Comments
|
sorrycc
pushed a commit
that referenced
this issue
Jun 23, 2022
Co-authored-by: pshu <pishu.spf@antfin.com>
xierenyuan
pushed a commit
to xierenyuan/umi
that referenced
this issue
Jun 23, 2022
Co-authored-by: pshu <pishu.spf@antfin.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ajv6.4.0依赖"uri-js": "^4.2.1"
npm run build报错:
Failed to minify the bundle. Error: src__pages__index__page.d68c9114.async.js from UglifyJs
出错代码为:
// CONCATENATED MODULE: ./node_modules/uri-js/dist/esnext/util.js
function merge(...sets) {
if (sets.length > 1) {
sets[0] = sets[0].slice(0, -1);
const xl = sets.length - 1;
for (let x = 1; x < xl; ++x) {
sets[x] = sets[x].slice(1, -1);
}
sets[xl] = sets[xl].slice(1);
return sets.join('');
}
else {
return sets[0];
}
}
The text was updated successfully, but these errors were encountered: