Skip to content

Commit

Permalink
test(css): fix postcss cleanid test (#8013)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed May 4, 2022
1 parent e85164e commit 67c86de
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/playground/css/postcss.config.js
Expand Up @@ -41,7 +41,11 @@ function testSourceInput() {
postcssPlugin: 'source-input',
AtRule(atRule) {
if (atRule.name === 'source-input') {
atRule.after(`/* ${atRule.source.input.from} */`)
atRule.after(
`.source-input::before { content: ${JSON.stringify(
atRule.source.input.from
)}; }`
)
atRule.remove()
}
}
Expand Down

0 comments on commit 67c86de

Please sign in to comment.