Skip to content

Commit

Permalink
Merge pull request #308 from bezoerb/adobe-css-tools
Browse files Browse the repository at this point in the history
replace unmaintained css with @adobe/css-tools
  • Loading branch information
bezoerb committed Oct 8, 2023
2 parents 5f2cc99 + 1fbb8b9 commit 9a7f4a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 73 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import meow from 'meow';
import picocolors from 'picocolors';
import indentString from 'indent-string';
import stdin from 'get-stdin';
import {parse} from 'css';
import {parse} from '@adobe/css-tools';
import escapeRegExp from 'lodash.escaperegexp';
import defaults from 'lodash.defaults';
import {inline as inlineCritical} from './index.js';
Expand Down
86 changes: 15 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"url": "https://github.com/bezoerb/inline-critical/issues"
},
"dependencies": {
"@adobe/css-tools": "^4.3.1",
"clean-css": "^5.3.2",
"css": "^3.0.0",
"detect-indent": "^7.0.1",
"fg-loadcss": "^2.1.0",
"get-stdin": "^9.0.0",
Expand Down

0 comments on commit 9a7f4a5

Please sign in to comment.