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
If a module is named like peaks.js, where the . has a decorative value and not a namespace value, /standalone/peaks.js is equivalent to the --standalone peaks.js browserify command.
The issue is the exported module is exported as window.peaks.js, js becoming a property of the namespace peaks.
It does not seem to be doable in browserify/browserify#818: what could be a proper way to define the standalone module name for browserify-cdn?
I would definitely map /standalone/peaks.js as --standalone peaks, to match the library examples and so on.
Thanks for your insights :-)
The text was updated successfully, but these errors were encountered:
If a module is named like
peaks.js
, where the.
has a decorative value and not a namespace value,/standalone/peaks.js
is equivalent to the--standalone peaks.js
browserify command.The issue is the exported module is exported as
window.peaks.js
,js
becoming a property of the namespacepeaks
.It does not seem to be doable in browserify/browserify#818: what could be a proper way to define the standalone module name for browserify-cdn?
I would definitely map
/standalone/peaks.js
as--standalone peaks
, to match the library examples and so on.Thanks for your insights :-)
The text was updated successfully, but these errors were encountered: