mirror of
https://github.com/next-theme/hexo-theme-next.git
synced 2026-01-21 19:32:34 +00:00
Switch to @adobe/css-tools
This commit is contained in:
parent
acca4e8374
commit
2d64661e5d
@ -2,7 +2,12 @@
|
|||||||
|
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
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 = '') {
|
function resolve(name, file = '') {
|
||||||
let dir;
|
let dir;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user