Skip to content

Commit 378c8b7

Browse files
test: update
1 parent e9dfe3d commit 378c8b7

File tree

5 files changed

+336
-1761
lines changed

5 files changed

+336
-1761
lines changed

src/plugins/postcss-import-parser.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,8 @@ const plugin = (options = {}) => {
196196
} = parsedAtRule;
197197

198198
if (options.filter) {
199-
const needKeep = await options.filter(
200-
url,
201-
media,
202-
layer,
203-
supports
204-
);
199+
// TODO add `layer` and `supports`
200+
const needKeep = await options.filter(url, media);
205201

206202
if (!needKeep) {
207203
return;

0 commit comments

Comments
 (0)