How does Snowpack convert dependencies into ES Modules? #3089
marialovesbeans
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How exactly does Snowpack converts CommonJS modules (such as
react
,react-dom
located innode_modules
), into ES6 imports?Is it via
babel-plugin-transform-commonjs
or something custom? Can anyone point out the source code?Beta Was this translation helpful? Give feedback.
All reactions