Skip to content

Commit

Permalink
Switch to @adobe/css-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjoezhang committed May 21, 2023
1 parent acca4e8 commit 2d64661
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/events/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

const fs = require('fs');
const path = require('path');
const css = require('css');
let css;
try {
css = require('@adobe/css-tools');
} catch (error) {
css = require('css');
}

function resolve(name, file = '') {
let dir;
Expand Down

0 comments on commit 2d64661

Please sign in to comment.