Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

fix(src/site/webpack.config.js): don't generate unused index.css.js file #267

Open
nicholaschiang opened this issue Mar 29, 2020 · 0 comments

Comments

@nicholaschiang
Copy link
Member

nicholaschiang commented Mar 29, 2020

fix(src/site/webpack.config.js): don't generate unused index.css.js file

Right now, we have to specify an output JavaScript file for webpack to compile but we don't ever reference that file and it'd be nice to stop even generating it in the first place.

Instead, we use a file-loader along with an extract-loader to put all of our webpacked CSS into a separate file (so we concurrently load JavaScript and CSS instead of putting it all into index.js like we do with our app).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant