-
Notifications
You must be signed in to change notification settings - Fork 252
Closed
Description
Team, we are getting the "define: undefined variable" error when running the following code.
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["module", "exports"], factory); } else if (typeof exports !== "undefined") { factory(module, exports); } else { var mod = { exports: {} }; factory(mod, mod.exports); global.scion = global.scion || {}; global.scion.core = mod.exports; } })
This is a function from a node package that we are trying to integrate into Moddable. It works fine in Node environment.
Could you please suggest us a solution.
Is there is a way to convert the npm packages into XS engine understandable format?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels