简体   繁体   中英

Where are files generated by webpack using angular-cli

I'm using angular-cli@1.0.0-beta.19-3 and when I run ng serve I get the following output:

           Asset       Size  Chunks             Chunk Names
  main.bundle.js    2.71 MB    0, 2  [emitted]  main
styles.bundle.js    10.2 kB    1, 2  [emitted]  styles
       inline.js    5.53 kB       2  [emitted]  inline
        main.map    2.81 MB    0, 2  [emitted]  main
      styles.map    14.1 kB    1, 2  [emitted]  styles
      inline.map    5.59 kB       2  [emitted]  inline
      index.html  486 bytes          [emitted]

and I can access the app using http://localhost:4200/ . However, I can't find those files inside my app. Are those bundles not ouput and kept in memory?

webpack开发服务器通过内存编译和托管文件,因此不会将它们写入磁盘,这说明了为什么找不到它们。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM