Skip to content

Commit c43b80b

Browse files
committed
fix: export default postcss plugin in ESM syntax
1 parent 513e561 commit c43b80b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/cold-cougars-grab.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"postcss-color-scheme": patch
3+
---
4+
5+
export default postcss plugin

lib/postcss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ function pluginCreator(_opts = {}) {
128128
*/
129129
pluginCreator.postcss = true;
130130

131-
module.exports = pluginCreator;
131+
export default pluginCreator;

0 commit comments

Comments
 (0)