Skip to content
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

删掉 component.json 配置的处理 #6

Open
angular-moon opened this issue Oct 17, 2016 · 1 comment
Open

删掉 component.json 配置的处理 #6

angular-moon opened this issue Oct 17, 2016 · 1 comment

Comments

@angular-moon
Copy link
Contributor

在fis3-hook-amd中也处理了component.json 的shim配置.
例如配置:
"shim": {
"angular-hotkeys.js": {
"deps": ["angular", "angular-hotkeys.css"],
"exports": "'cfp.hotkeys'"
}
}
fis3 install 时, 会插入require 和 exports的代码.
fis3 release 时也会插入相同的代码.
require 和 exports 都重复了.

@angular-moon
Copy link
Contributor Author

lib\remotes\remotes.js
241行
function convert

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant