我的终端中有这个命令
$ ng build --watch
Date: 2018-01-02T21:42:45.851Z
Hash: f72a8ce7baf664dc5d5a
Time: 3260ms
chunk {inline} inline.bundle.js, inline.bundle.js.map (inline) 5.83 kB [entry] [rendered]
chunk {main} main.bundle.js, main.bundle.js.map (main) 303 bytes [initial] [rendered]
chunk {polyfills} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 323 bytes [initial] [rendered]
chunk {styles} styles.bundle.js, styles.bundle.js.map (styles) 57.9 kB [initial] [rendered]
ERROR in src/main.ts(50,42): error TS2339: Property 'value' does not exist on type 'HTMLElement'.
即使使用出现错误,我如何强制转译ng build
?dist
无论如何,我希望 angular-cli 始终将目标文件输出到主管。