mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
chore: cleanup
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user