Skip to content

Commit

Permalink
Switching from css to @adobe/css-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Philippe Zolesio committed Aug 5, 2022
1 parent 07e23d7 commit 0f518f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 38 deletions.
2 changes: 1 addition & 1 deletion lib/convert/css.js
Expand Up @@ -24,7 +24,7 @@ module.exports = function(css){
*/

function Converter(css) {
var { parse } = require('css');
var { parse } = require('@adobe/css-tools');
this.css = css;
this.root = parse(css, { position: false });
this.indents = 0;
Expand Down
41 changes: 5 additions & 36 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
Expand Up @@ -28,7 +28,7 @@
"test": "mocha test/ test/middleware/ --require chai --bail --check-leaks --reporter dot"
},
"dependencies": {
"css": "^3.0.0",
"@adobe/css-tools": "^4.0.1",
"debug": "^4.3.2",
"glob": "^7.1.6",
"sax": "~1.2.4",
Expand Down

0 comments on commit 0f518f8

Please sign in to comment.