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

Separate tailwind imports #21

Closed
judereid opened this issue Nov 17, 2020 · 0 comments · Fixed by #22
Closed

Separate tailwind imports #21

judereid opened this issue Nov 17, 2020 · 0 comments · Fixed by #22

Comments

@judereid
Copy link
Contributor

judereid commented Nov 17, 2020

Overview
Having all tailwind imports in app.css causes a slow build time when using HRM during development. We need to split out the utility import to a separate CSS include.

Resources

Work Required

css/app-base.css
css/app-components.css
css/app-utilities.css
css/base.css

css/base.css gets imported into css/app-base.css

Then in app.js:

import "../css/app-base.css";
import "../css/app-components.css";
import "../css/app-utilities.css";

@judereid judereid changed the title Separate tailwind utility import Separate tailwind imports Nov 17, 2020
@moacode moacode mentioned this issue Nov 17, 2020
1 task
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

Successfully merging a pull request may close this issue.

1 participant