Open jcuenod opened 3 years ago
@jcuenod
Snowpack takes a different approach: Instead of bundling your entire application for this one requirement, Snowpack processes your dependencies separately. Here’s how it works:
node_modules/react/**/* -> http://localhost:3000/web_modules/react.js
node_modules/react-dom/**/* -> http://localhost:3000/web_modules/react-dom.js
node_modules/codemirror/**/* -> http://localhost:3000/web_modules/codemirror.js
Here we are dynamically loading mode
js
Yes, so I'm wondering whether there's another way to load a mode
(like whether I can supply a mode object or something).
On an initial attempt to get this working with snowpack, I'm running into an issue resolving the
mode
:My code is minimal boilerplate: