Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Jasper De Moor <jasperdemoor@gmail.com> Co-authored-by: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com>
- Loading branch information
1 parent
daed0c3
commit 530e06a
Showing
5 changed files
with
32 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
packages/core/integration-tests/test/integration/postcss-plugins-decl/index.css
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.index { | ||
} |
11 changes: 11 additions & 0 deletions
11
packages/core/integration-tests/test/integration/postcss-plugins-decl/postcss.config.js
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
module.exports = { | ||
"plugins": [ | ||
{ | ||
postcssPlugin: 'PLUGIN NAME', | ||
Rule: (rule, { Declaration }) => { | ||
const decl = new Declaration({ prop: 'background-image', value: 'url("data:image/gif;base64,quotes")' }) | ||
rule.append(decl) | ||
}, | ||
} | ||
] | ||
} |
Empty file.
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
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