swc/css/parser/tests/fixture/rome/import/output.json
2021-10-10 10:43:11 +09:00

69 lines
1.2 KiB
JSON

{
"type": "Stylesheet",
"span": {
"start": 0,
"end": 55,
"ctxt": 0
},
"rules": [
{
"type": "ImportRule",
"span": {
"start": 0,
"end": 24,
"ctxt": 0
},
"src": {
"type": "String",
"span": {
"start": 8,
"end": 23,
"ctxt": 0
},
"value": "something.css",
"raw": "\"something.css\""
},
"condition": null
},
{
"type": "ImportRule",
"span": {
"start": 25,
"end": 54,
"ctxt": 0
},
"src": {
"type": "FnValue",
"span": {
"start": 33,
"end": 53,
"ctxt": 0
},
"name": {
"type": "Text",
"span": {
"start": 33,
"end": 36,
"ctxt": 0
},
"value": "url",
"raw": "url"
},
"args": [
{
"type": "String",
"span": {
"start": 37,
"end": 52,
"ctxt": 0
},
"value": "something.css",
"raw": "\"something.css\""
}
]
},
"condition": null
}
]
}