-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
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
volo add with amd does not save amd for future reinstall #198
Comments
Will think about it for 0.4.0, but in the meantime, I updated https://github.com/volojs/repos to include
It should do the right thing, even on reinstall. |
Great idea, specially for automation (CI) where one question @jrburke, I saw that for angular, the |
I found out that by using requirejs shim config options achieves that perfectly, working around the current issue where there would be no need to re-define that in volo as well. That being said, it could work like the below, while these settings could be used for both runtime and optimisation with r.js without the need of creating multiple files through requirejs.config({
shim: {
angular: {
deps: ['jquery'],
exports: 'angular'
}
}
}); However, it would still be handy to be able to perform that straight from volo I guess. Specially when building volo re-usable packages that depend on other libraries that need this shim. |
I find shims very awkward to use when dealing with multiple projects. I want to simply copy/init my deps and be done with it. Specifying them in two places is not optimal. |
To reproduce, run:
Contents of package.json:
Expected behaviour:
Thanks for the great tool that is volo!
The text was updated successfully, but these errors were encountered: