编译后,我看到正在生成奇怪的文件,例如:
wine rmwspa.exe
001e:err:ole:CoGetClassObject no class object {cacaf262-9370-4615-a13b-9f5539da4c0a} could be created for context 0x1
001e:err:olepicture:OleLoadPictureEx IPersistStream_Load failed
$doc = new SimpleXMLElement('<?xml version=\'1.0\' encoding=\'UTF-8\'?>
<request />');
$grp = $doc->addChild("GRP");
$grp->addAttribute("ID", "1");
$fld = $grp->addChild("FLD", $transaction);
$fld->addAttribute("NAM", "TRANSACTION");
$fld->addAttribute("TYP", "Char");
for($counter=0;$counter<$Num;$counter++) {
$tab = $doc->addChild("TAB");
$tab->addAttribute("DIM", "1");
$tab->addAttribute("ID", "1");
$tab->addAttribute("SIZE", "1");
$lin = $tab->addChild("LIN");
$lin->addAttribute("NUM", (string)($counter+1));
$fld = $tab->addChild("FLD", $itemCode[$counter]);
$fld->addAttribute("NAM", "ITEMREFERENCE");
}
echo $doc->asXML();
查看了Webpack配置中的每个优化选项
我的优化配置为:
(window.webpackJsonp=window.webpackJsonp||[]).push([[6,7,8,9],{1224:function(n,o){},1225:function(n,o){},1226:function(n,o){},1233:function(n,o){},1234:function(n,o){},239:function(n,o){}}]);
//# sourceMappingURL=6.2ca126ea.js.map
有这么多的文件。 它们通常以字节为单位(加上与每个文件关联的源映射)
如何避免生成这些文件,甚至将它们放在一个文件中?