spmjs / grunt-cmd-transport

Transport everything into common module.
MIT License
70 stars 32 forks source link

cmd-transport怎么构建本地jq文件为cmd模块? #81

Closed kongjiea closed 9 years ago

kongjiea commented 10 years ago

cmd-transport怎么构建本地jq文件为cmd模块? 就比如在本地demo文件夹中把jq文件弄成cmd模块,如果写package.json,Gruntfile.js, 我实在没看懂,

这里是配置。。。 grunt.initConfig({ transport: { options: { // Task-specific options go here. }, your_target: { // Target-specific file lists and/or options go here. }, }, }) 可是你们的Examples是: grunt.initConfig({ transport: { targetname: { files: [{ cwd: 'src', src: '*/_', dest: 'dist' }] } } });

参数都不一样。 能给一个完整的例子不? 实在没看懂。。。

popomore commented 9 years ago

为何不用这个 https://spmjs.org/jquery/jquery/