Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

styles/global/global.css not working #152

Open
Falieson opened this issue May 5, 2017 · 3 comments
Open

styles/global/global.css not working #152

Falieson opened this issue May 5, 2017 · 3 comments

Comments

@Falieson
Copy link
Contributor

Falieson commented May 5, 2017

Code:
webpack2...Falieson:wp2_globalCSSloaders-broken

$ yarn test:dev

[phantomjs #0-0] 1 failing
[phantomjs #0-0] 1) dev mode serves up global css:
[phantomjs #0-0] expected '8px' to equal '0px'
@Falieson
Copy link
Contributor Author

Falieson commented May 5, 2017

I saw that global CSS is in the webpack config - is global.css supposed to be accessed the same way other .css files? I suppose I made an assumption here that it was built as a final asset because of its title.

@jedwards1211
Copy link
Member

Oh, huh... I'll have to check what went wrong later. The global css is supposed to be just good old fashioned css to include on every route, whereas all other css files are configured to use css modules, and be imported for specific routes and components.

@Falieson
Copy link
Contributor Author

Falieson commented May 6, 2017

That's exactly how I thought it was supposed to work! :-)

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

No branches or pull requests

2 participants