Farata / angular2typescript

Code samples from the book Angular 2 Development with TypeScript
MIT License
440 stars 270 forks source link

chapter10/auction/client: webpack does not produce CSS asset #8

Open catull opened 8 years ago

catull commented 8 years ago

When running npm run build, no CSS is produced in dist/.

These files are in dist/:

The relevant logs are:

                                 Asset       Size  Chunks             Chunk Names
                  vendor.bundle.js.map    7.63 MB       0  [emitted]  vendor
  f4769f9bdb7466be65088239c12046d1.eot    20.1 kB          [emitted]
448c34a56d699c29117adc64c43affeb.woff2      18 kB          [emitted]
  e18bbf611f2a2e43afc071aa2f4e1512.ttf    45.4 kB          [emitted]
  89889688147bd7575d6327160d64e760.svg     109 kB          [emitted]
                      vendor.bundle.js    1.21 MB       0  [emitted]  vendor
                             bundle.js    80.3 kB       1  [emitted]  main
 fa2772327f55d8198301fdb8bcfc8158.woff    23.4 kB          [emitted]
                         bundle.js.map     397 kB       1  [emitted]  main
                          bundle.js.gz    14.5 kB          [emitted]
                      bundle.js.map.gz    65.8 kB          [emitted]
                   vendor.bundle.js.gz     267 kB          [emitted]
               vendor.bundle.js.map.gz    1.51 MB          [emitted]
                            index.html  315 bytes          [emitted]
    + 717 hidden modules

and then

Condition always false [./~/style-loader/addStyles.js:24,0]
Dropping unreachable code [./~/style-loader/addStyles.js:25,0]
Condition always false [./~/style-loader!./~/css-loader!./~/bootstrap/dist/css/bootstrap.min.css:10,0]
Dropping unreachable code [./~/style-loader!./~/css-loader!./~/bootstrap/dist/css/bootstrap.min.css:12,0]
Side effects in initialization of unused variable update [./~/style-loader!./~/css-loader!./~/bootstrap/dist/css/bootstrap.min.css:7,0]