acorn-jsx parse multiline attribute value

node v10.24.1
version: master
endpointsharetweet
var acorn = require("acorn"); var jsx = require("acorn-jsx"); acorn.Parser.extend(jsx()).parse(`<e a="foo "/>;`).body[0].expression.openingElement.attributes[0].value.value;
Loading…

no comments

    sign in to comment