Skip to content
This repository was archived by the owner on Aug 28, 2026. It is now read-only.
This repository was archived by the owner on Aug 28, 2026. It is now read-only.

url('') is rewritten as require('./') #463

Closed

Description

@darrenscerri

What is the current behavior?
url('') is rewritten as require('./')

If the current behavior is a bug, please provide the steps to reproduce.
Simply specify a url('') rule in CSS.

What is the expected behavior?
url('') should not be allowed. Show a warning similar to webpack/webpack#2006

Activity

  1. alexander-akait commented on Apr 21, 2017

    @alexander-akait
    Member

    /cc @michael-ciniawsky what do you think about ignore empty url by default?

  2. michael-ciniawsky commented on Apr 21, 2017

    @michael-ciniawsky
    Contributor

    Yep, also@ìmport/url() with protocol schema https://, but we need to clearify if that breaks current useage somehow (don't think so, but how knows for sure 😛)

  3. alexander-akait commented on Jun 27, 2017

    @alexander-akait
    Member

    Done in #513

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions