Skip to content

Commit

Permalink
fix(canvas/render): remove postcss warning because not specifying 'fr…
Browse files Browse the repository at this point in the history
…om' path
  • Loading branch information
rhlin committed Jan 22, 2025
1 parent 1408b44 commit 0c0f129
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import postcss from 'postcss'
import scopedPlugin from './scope-css-plugin'

export function handleScopedCss(id: string, content: string) {
return postcss([scopedPlugin(id)]).process(content)
return postcss([scopedPlugin(id)]).process(content, { from: undefined })
}

0 comments on commit 0c0f129

Please sign in to comment.