react-ast icon indicating copy to clipboard operation
react-ast copied to clipboard

Running in browser

Open nkovacic opened this issue 4 years ago • 1 comments

Is there a way to run this library in the browser? Made quick example codesandbox, but throws this error: [["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries is not a function or its return value is not iterable

nkovacic avatar Aug 14 '21 20:08 nkovacic

I think I would need to set it up to use babel-standalone https://babeljs.io/docs/en/babel-standalone.

I'm not sure exactly when I can get around to this, but pull requests are welcome.

clayrisser avatar Aug 17 '21 00:08 clayrisser