问题
Is there a .bowerrc
equivalent in jspm
? When I run jspm install
, I'd like jspm to install the packages to client/jspm_packages
folder.
How can I configure jspm to change location of jspm_packages folder?
Thanks
回答1:
I found it. In your package.json
, add the path into packages
inside directories
.
"jspm": {
"directories": {
"packages": "new/path/to/jspm_packages"
}
}
来源:https://stackoverflow.com/questions/29902646/change-jspm-packages-location