Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Sep 15, 2021
1 parent e9dfe3d commit 378c8b7
Show file tree
Hide file tree
Showing 5 changed files with 336 additions and 1,761 deletions.
8 changes: 2 additions & 6 deletions src/plugins/postcss-import-parser.js
Expand Up @@ -196,12 +196,8 @@ const plugin = (options = {}) => {
} = parsedAtRule;

if (options.filter) {
const needKeep = await options.filter(
url,
media,
layer,
supports
);
// TODO add `layer` and `supports`
const needKeep = await options.filter(url, media);

if (!needKeep) {
return;
Expand Down

0 comments on commit 378c8b7

Please sign in to comment.