refactor(core): zero circulars + esm ready (#10770)

This commit is contained in:
Nathan Walker
2025-09-18 17:03:23 -07:00
committed by GitHub
parent 1e54baf198
commit c2ff8c1ae7
306 changed files with 9136 additions and 9889 deletions

View File

@ -1,4 +1,4 @@
import { parse } from 'css-tree';
import * as cssTree from 'css-tree';
function mapSelectors(selector: string): string[] {
if (!selector) {
@ -129,7 +129,7 @@ function transformAst(node, css, type = null) {
export function cssTreeParse(css, source): any {
const errors = [];
const ast = parse(css, {
const ast = cssTree.parse(css, {
parseValue: false,
parseAtrulePrelude: false,
parseRulePrelude: false,