Skip to content

Commit e645c1a

Browse files
test: update
1 parent d3df855 commit e645c1a

File tree

4 files changed

+335
-1760
lines changed

4 files changed

+335
-1760
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)