We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have this javascript file
// hello.js var hello = function () { return 'hello'; }; var bye = function () { return 'bye bye'; };
I can use hello() with this configuration
hello()
"browserify": { "transform": ["browserify-shim"] }, "browser": { "hello": "./hello.js" }, "browserify-shim": { "hello": {"exports": "hello"} }
And call with
var hello = require('hello'); hello()
How can I use the both functions bye() and hello() ?
bye()
The text was updated successfully, but these errors were encountered:
browserify-shim is only capable of handling one export per module so at the moment it cannot accomplish what you're requesting.
Sorry, something went wrong.
No branches or pull requests
If I have this javascript file
I can use
hello()
with this configurationAnd call with
How can I use the both functions
bye()
andhello()
?The text was updated successfully, but these errors were encountered: