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

Webpack process only picks up some of the css files in a theme #40

Closed
Relequestual opened this issue Feb 9, 2017 · 3 comments
Closed

Comments

@Relequestual
Copy link

When creating a theme with multiple css files in the styles folder, not all of them are always pick up and included.

Noted at #39 (comment)

@tajo tajo added the bug label Feb 9, 2017
@Relequestual
Copy link
Author

I think I found the cause of this problem!
I had installed bootstrap, but removed the font files.
The CSS loader had a problem when it couldn't find the fonts, and died, without saying a word.
I only noticed this when I restarted the server in development mode and saw it in the console while it was trying to reload modules.
Added the fonts back, no problem.

I still came across a load order issue, but because they are loaded in alphabetical order (it seems), that's easy to fix.

@Relequestual
Copy link
Author

Added another CSS file. Still have the problem where it's not picked up at...
require.context('doca-bootstrap-theme/styles', true, /\.css$/ig);
main.js

@handrews
Copy link
Contributor

handrews commented May 1, 2018

This set of packages is being deprecated in favor of the JSON Schema Tools monorepo. Contributions are still welcome here but most work will be done on the new packages.

The new UI is still being designed.

This issue has been transferred to cloudflare/json-schema-tools#9

@handrews handrews closed this as completed May 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants