Skip to content

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

@tjvantoll

Description

@tjvantoll

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions