-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for a plain CSS
@import url("foo")
(#2033)
- Loading branch information
Showing
1 changed file
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
<===> input.scss | ||
@import "plain"; | ||
<===> string/input.scss | ||
@use "plain"; | ||
|
||
<===> plain.css | ||
<===> string/plain.css | ||
@import "whatever"; | ||
|
||
<===> output.css | ||
<===> string/output.css | ||
@import "whatever"; | ||
|
||
<===> warning | ||
DEPRECATION WARNING: Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0. | ||
<===> | ||
================================================================================ | ||
<===> url/unquoted/input.scss | ||
@use "plain"; | ||
|
||
More info and automated migrator: https://sass-lang.com/d/import | ||
<===> url/unquoted/plain.css | ||
@import url(whatever); | ||
|
||
, | ||
1 | @import "plain"; | ||
| ^^^^^^^ | ||
' | ||
input.scss 1:9 root stylesheet | ||
<===> url/unquoted/output.css | ||
@import url(whatever); | ||
|
||
<===> | ||
================================================================================ | ||
<===> url/quoted/input.scss | ||
@use "plain"; | ||
|
||
<===> url/quoted/plain.css | ||
@import url("whatever"); | ||
|
||
<===> url/quoted/output.css | ||
@import url("whatever"); |