Skip to content

Commit 5ec1990

Browse files
committedFeb 14, 2024·
fix: use correct styleToObject function export
1 parent 4e351ed commit 5ec1990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/process-attributes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const {match} = require('posthtml/lib/api');
44
const parseAttrs = require('posthtml-attrs-parser');
5-
const styleToObject = require('style-to-object');
5+
const styleToObject = require('style-to-object').default;
66
const validAttributes = require('./valid-attributes');
77
const keys = require('lodash/keys');
88
const union = require('lodash/union');

0 commit comments

Comments
 (0)
Please sign in to comment.