Skip to content

Url() without quotes is not supported in sass #316

@StarpTech

Description

@StarpTech

According to https://developer.mozilla.org/en-US/docs/Web/CSS/url there are three formats.

div#test {
  background-image: url(./images/test.jpg)
}
{
  "name": "parcel-demo",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "parcel index.html"
  },
  "author": "Dustin Deus",
  "license": "ISC",
  "devDependencies": {
    "autoprefixer": "^7.2.3",
    "babel-preset-env": "^1.6.1",
    "node-sass": "^4.7.2",
    "postcss-modules": "^1.1.0",
    "uglify-es": "^3.2.2"
  }
}

Exptected behaviour

./images/test.jpg should be in dist folder

Current behaviour

./images/test.jpg is not in dist folder

Parcel: 1.2.0
Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions