Skip to content

Commit

Permalink
Fix postcss error
Browse files Browse the repository at this point in the history
  • Loading branch information
notiv-nt committed Dec 17, 2023
1 parent af7cc8e commit d8a8283
Show file tree
Hide file tree
Showing 2 changed files with 876 additions and 661 deletions.
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const postcss = require('postcss');
const postcssValueParser = require('postcss-value-parser');
const TIMING_FUNCTIONS = [
'cubic-bezier',
Expand Down Expand Up @@ -150,10 +149,12 @@ module.exports = (defaults) => {
}, []);

if (values) {
decl.replaceWith({
prop: 'transition',
value: values.join(', '),
});
decl.value = values.join(', ');

// decl.replaceWith({
// prop: 'transition',
// value: values.join(', '),
// });
}
}

Expand Down
Loading

0 comments on commit d8a8283

Please sign in to comment.