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
目录
test/ - init.js - index.js - index.css - gruntfile.js
kmc配置
kmc: { main:{ options: { packages: [ { name: 'test', path: '../', charset: 'utf-8' } ], depFilePath:'deps.js', comboOnly: true }, files: [ { src: './init.js' } ] } }
打包入口文件代码
KISSY.add(function(S) { }, { requires: ['./index', './index.css'] });
输出结果:
KISSY.config('modules', { 'test/init': { requires: ['test/index', './index.css']}, 'test/index': { requires: ['dom', 'event', 'ajax']} });
KISSY.config('modules', { 'test/init': { requires: ['test/index', 'test/index.css']}, 'test/index': { requires: ['dom', 'event', 'ajax']} });
样式的路径补全
The text was updated successfully, but these errors were encountered:
fixed in kmc v1.0.19, please ses this issue for details: daxingplay/kmc#32
Sorry, something went wrong.
No branches or pull requests
kmc配置
目录
kmc配置
打包入口文件代码
输出结果:
期望结果
样式的路径补全
The text was updated successfully, but these errors were encountered: