fix the require minification