Angular 2 - 编译的HTML文件

时间:2017-04-06 18:56:49

标签: node.js angular copy

编译后,我将文件复制到/ dist文件夹。以下是我的package.json

中的命令

"复制:html-win":" xcopy。\ * .html。\ dist / y", "复制:css-win":" xcopy。\ *。css。\ dist / y", " copy:config-win":" xcopy systemjs.config.js。\ dist / y", " copy:modules-win":" xcopy。\ node_modules \ *。\ dist \ node_modules / S / Y",

这是做什么的......它正在将所有内容复制到/ dist文件夹,除了.html文件没有被复制,相反,我看到.map文件。

例如: list.component.html缺失。 但是list.component.js.map就在那里

list.component.js.map的内容如下所示:

{"version":3,"file":"list.component.js","sourceRoot":"","sources":["../../../app/list/list.component.ts"],"names":[],"mappings":";;;;;;;;;;AACA,qBAAkC,eAAe,CAAC,CAAA;AAClD,uBAA+C,iBAAiB,CAAC,CAAA;AAEjE,6BAA4B,gBAAgB,CAAC,CAAA;AAS7C;IAKI,2BAAoB,OAAoB,EAAU,KAAqB,EAAU,MAAc;QAA3E,YAAO,GAAP,OAAO,CAAa;QAAU,UAAK,GAAL,KAAK,CAAgB;QAAU,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAEnG,oCAAQ,GAAR;QAAA,iBAGC;QAFG,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;aAC1B,SAAS,CAAC,UAAA,IAAI,IAAI,OAAA,KAAI,CAAC,aAAa,GAAG,IAAI,EAAzB,CAAyB,CAAC,CAAC;IACtD,CAAC;IAhBL;QAAC,gBAAS,CAAC;YACP,QAAQ,EAAE,MAAM,CAAC,EAAE;YACnB,WAAW,EAAE,0BAA0B;YACvC,SAAS,EAAE,CAAE,0BAAW,CAAE;SAC7B,CAAC;;yBAAA;IAaF,wBAAC;AAAD,CAAC,AAXD,IAWC;AAXY,yBAAiB,oBAW7B,CAAA"}

我做错了什么?

0 个答案:

没有答案