Open dongyuwei opened 5 years ago
Do the similar optimization of production mode webpack/minipack, key point is not use eval/new Function to execute js module.
wrap module code in
function (module, exports, require){ /* module file content, raw source code */ }
Do the similar optimization of production mode webpack/minipack, key point is not use eval/new Function to execute js module.