Comments (8)
我也遇到了同样的问题,
发现这个插件还是有很多bug,
不好用,差评
from grunt-cmd-transport.
同样的问题
from grunt-cmd-transport.
同样的问题,你们怎么解决的?
from grunt-cmd-transport.
对啊,打包正常了,虽然都得改成相对路径,但也没什么大不了的,顶级路径完全就等于是废了,别名也基本无用,但转化成反斜线之后,控制台就会报错,虽然抽取依赖都正常了(使用顶级写法的时候无法深层抽取),但是这报错让人看着很不爽。
from grunt-cmd-transport.
使用 0.4.1版的transport也没有问题,我在这个问题上坑大了(┬_┬)
from grunt-cmd-transport.
同样的问题。
from grunt-cmd-transport.
只能修改源码了,不知道这样改是否会引发其他问题,不过确实解决了这个问题。
修改tasks\lib\scipt.js 第88行
return unixy(dep.replace(/.js$/, ''));
from grunt-cmd-transport.
太可气了,作者好像蒸发了一样,都那么长时间没更新代码了,估计他自己都不用这个东西了,我看我们还是改去学FIS吧。
from grunt-cmd-transport.
Related Issues (20)
- 文件名中出现 . 如a-2.0.js 出现依赖解析错误 HOT 1
- 未来版本支持自动加上define的功能么?
- js提取依赖支持vars定义的变量
- 最新版0.5.1依赖不能完全提取,降级到0.4.1可以全部提取。 HOT 6
- 最新版本在win8打包出来的路径有错误
- 打包时会自动转换 unicode,能否加个配置禁止这个转换。
- 提取依赖时jsParser::getFileInfo路径问题导致无法正常提取依赖
- Grunt升级到1.0.0后,transport无法使用
- 疑问
- 运行之后只提取了一个 require 依赖出来,请问这项目还有人维护吗 HOT 1
- 支持 hash
- seajs升级到2.3后 transport css的问题 HOT 2
- 当js模块的文件名含有"."时,无法将这个模块的依赖转化到依赖这个模块的依赖里? HOT 7
- 别名配置,支持替换require路径中的一个字段么? HOT 2
- 依赖只能匹配到第一个 HOT 5
- Arguments to path.join must be strings Use
- 依赖文件路径问题 HOT 3
- 建议把jsParser里的filecache的作用域变为全局,可大幅提高效率 HOT 2
- 设置多个alias后,依赖的多个alias文件最后只剩一个
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grunt-cmd-transport.