Skip to content

@babel/parser in browser #14853

Answered by nicolo-ribaudo
k644606347 asked this question in Q&A
Aug 13, 2022 · 3 comments · 4 replies
Discussion options

You must be logged in to vote

You can load it from the skypack CDN:

import { parse } from "https://cdn.skypack.dev/@babel/parser"

or

const { parse } = await import("https://cdn.skypack.dev/@babel/parser")

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@k644606347
Comment options

@k644606347
Comment options

@kungfooman
Comment options

Answer selected by k644606347
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@kungfooman
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants