Add extra.raw back to JSXText and JSXAttribute (#344)
This commit is contained in:
committed by
Daniel Tschinder
parent
14b7f50e51
commit
cbf4203237
10
test/fixtures/jsx/basic/7/expected.json
vendored
10
test/fixtures/jsx/basic/7/expected.json
vendored
@@ -115,7 +115,10 @@
|
||||
"column": 22
|
||||
}
|
||||
},
|
||||
"extra": null,
|
||||
"extra": {
|
||||
"rawValue": "&&",
|
||||
"raw": "\"&&\""
|
||||
},
|
||||
"value": "&&"
|
||||
}
|
||||
}
|
||||
@@ -184,7 +187,10 @@
|
||||
"column": 0
|
||||
}
|
||||
},
|
||||
"extra": null,
|
||||
"extra": {
|
||||
"rawValue": "\nbar\nbaz\n",
|
||||
"raw": "\nbar\nbaz\n"
|
||||
},
|
||||
"value": "\nbar\nbaz\n"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user