Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
catull opened this issue Aug 20, 2016 · 0 comments
Open

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

catull opened this issue Aug 20, 2016 · 0 comments

Comments

@catull
Copy link
Contributor

catull commented Aug 20, 2016

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

These files are in dist/:

  • 448c34a56d699c29117adc64c43affeb.woff2
  • 89889688147bd7575d6327160d64e760.svg
  • bundle.js
  • bundle.js.gz
  • bundle.js.map
  • bundle.js.map.gz
  • e18bbf611f2a2e43afc071aa2f4e1512.ttf
  • f4769f9bdb7466be65088239c12046d1.eot
  • fa2772327f55d8198301fdb8bcfc8158.woff
  • index.html
  • vendor.bundle.js
  • vendor.bundle.js.gz
  • vendor.bundle.js.map
  • vendor.bundle.js.map.gz

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]
@catull catull changed the title webpack does not produce CSS asset chapter10/auction/client: webpack does not produce CSS asset Aug 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant