标签: command-line-interface jspm
Jspm覆盖使用哪个主文件
当我jspm install select2时,我会在jspm_packages/github/select2/select2@4.0.3.js
jspm install select2
jspm_packages/github/select2/select2@4.0.3.js
define(["github:select2/select2@4.0.3/js/select2"], function(main) { return main; });
我希望使用"github:select2/select2@4.0.3/js/select2.full"我如何实现这一目标?
"github:select2/select2@4.0.3/js/select2.full"
答案 0 :(得分:0)
啊,got it
jspm install select2 --override "{ main: 'js/select2.full'}"