Skip to content Skip to sidebar Skip to footer

Angular-cli Not Generating Typescript Files With --dev Option

Using angular-cli: 1.0.0-beta.14, node: 6.6.0, os: win32 x64. Of course, this is the webpack version of angular-cli. I'm able to use ng build. The ng build output gives this webp

Solution 1:

See @vt5491's detailed answer here:


Also, I beleive it's just ng b -dev with one -. See ng help here:

...

ng build <options...>
  Builds your app and places it into the output path (dist/ by default).
  aliases: b
  --target (String) (Default: development)
    aliases: -t <value>, -dev (--target=development), -prod (--target=production)

...

We have a similar issue with styles being all put into index.html's <style> tags. See:


Post a Comment for "Angular-cli Not Generating Typescript Files With --dev Option"