We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4353067 commit d7825e3Copy full SHA for d7825e3
src/index.spec.js
@@ -20,6 +20,19 @@ describe("misc", () => {
20
});
21
22
23
+ it("ignores unsupported at-rules", () => {
24
+ expect(transform(`@charset "utf-8";`)).toEqual({});
25
+ expect(
26
+ transform(`
27
+ @supports (display: grid) {
28
+ div {
29
+ display: grid;
30
+ }
31
32
+ `),
33
+ ).toEqual({});
34
+ });
35
+
36
it("allows pixels in unspecialized transform", () => {
37
expect(
38
transform(`
0 commit comments