You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using raml-js-parser-2 which uses raml-definition-system which uses this module as dependency and during webpacking i am getting an error Error: define cannot be used indirect. Debugging error i found out that this module uses amdefine and my error is on that.
Looking into source code, I changed js/index.js file to use global function instead amdefine and it worked fine after webpacking.
Can anything be done about amdefine with webpack?
The text was updated successfully, but these errors were encountered:
I am using
raml-js-parser-2
which usesraml-definition-system
which uses this module as dependency and during webpacking i am getting an errorError: define cannot be used indirect
. Debugging error i found out that this module usesamdefine
and my error is on that.Looking into source code, I changed
js/index.js
file to use global function insteadamdefine
and it worked fine after webpacking.Can anything be done about
amdefine
with webpack?The text was updated successfully, but these errors were encountered: