Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

require 只支持相对路径 require #8

Open
finderL opened this issue Aug 20, 2013 · 3 comments
Open

require 只支持相对路径 require #8

finderL opened this issue Aug 20, 2013 · 3 comments

Comments

@finderL
Copy link

finderL commented Aug 20, 2013

在运行的时候读jquery时候报错,找不到文件,我在config.js里配置过,
'jquery': {
src: '/js/libs/jquery/jquery-debug-1.9.1.js',
exports: 'jQuery'
},var $ = require('jquery');,这样的写法会有问题吗?应该怎么写?

@e7h4n
Copy link
Owner

e7h4n commented Aug 21, 2013

grunt-cmd-combo 不支持 config.js

Regards,
Ethan Zhang

晓来雨过 遗踪何在 一池萍碎 春色三分 两分尘土 一分流水
perfectworks@gmail.com

On Tue, Aug 20, 2013 at 12:14 PM, 刘贝 notifications@github.com wrote:

在运行的时候读jquery时候报错,找不到文件,我在config.js里配置过,
'jquery': {
src: '/js/libs/jquery/jquery-debug-1.9.1.js',
exports: 'jQuery'
},var $ = require('jquery');,这样的写法会有问题吗?应该怎么写?


Reply to this email directly or view it on GitHubhttps://github.com//issues/8
.

@finderL
Copy link
Author

finderL commented Aug 22, 2013

这个插件是不是也不支持require.async?

@e7h4n
Copy link
Owner

e7h4n commented Aug 22, 2013

@finderL 是的。grunt-cmd-combo 支持的就是一个最简单的 cmd combo

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

No branches or pull requests

2 participants