stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Dev bundles causes the application to error when using the package xml-js #1102

Closed mjstahl closed 5 years ago

mjstahl commented 5 years ago

Using dev-bundle on your HTML page, and importing the package xml-js will cause the following error in the console.

dev-bundle.js:8197 TypeError: Object prototype may only be an Object or null: undefined
    at Function.create (<anonymous>)
    at Object.exports.inherits (dev-bundle.js:55556)
    at Function.eval (dev-bundle.js:54180)
    at execute (steal.js:3996)
    at linkDynamicModule (steal.js:3108)
    at linkDynamicModule (steal.js:3102)
    at linkDynamicModule (steal.js:3102)
    at linkDynamicModule (steal.js:3102)
    at linkDynamicModule (steal.js:3102)
    at link (steal.js:2964)
    at Object.execute (steal.js:3303)
    at doDynamicExecute (steal.js:749)
    at link (steal.js:797)
    at doLink (steal.js:566)
    at updateLinkSetOnLoad (steal.js:614)
    at steal.js:405