luminaxster / syntax-highlighter

An extensible library to highlight (and comment) JSX syntax in the Monaco Editor using Babel. It exposes its AST, so you can add your own syntax-based or custom highlights.

Home Page:https://luminaxster.github.io/syntax-highlighter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@babel/parser @babel/traverse cannot use in browser

RGBWang opened this issue · comments

@babel/parser @babel/traverse cannot use in browser。
babel in browser lib is @babel/standalone。
but cannot find parser or traverse in @babel/standalone,
how can I do it?

are you using npm? or using cdn for the files? Your bundled app should have code like this.