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

CSS @import: Make url optional for local files #612

Closed
tjvantoll opened this issue Aug 21, 2015 · 1 comment
Closed

CSS @import: Make url optional for local files #612

tjvantoll opened this issue Aug 21, 2015 · 1 comment
Milestone

Comments

@tjvantoll
Copy link
Contributor

Currently if you want to import a local CSS file you need to use syntax like this:

@import { url('~/your-style.css') }

This seems a bit silly because:

I would like to request the syntax below to import a CSS file within my app:

@import { '~/your-style.css' }

Or even better drop the curly braces too:

@import '~your-style.css';

Thanks!

@lock
Copy link

lock bot commented Aug 31, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot unassigned enchev Aug 31, 2019
@lock lock bot locked and limited conversation to collaborators Aug 31, 2019
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

2 participants