泡泡
泡泡
urlArgs也是可以的。之前用requirejs的时候也是为了解决增量更新的问题折腾了好一翻,那时没发现有gulp-rev-all,最后的解决方案是修改requirejs的源码,把urlArgs改成一个function。最终结果肯定是没有修改文件名那样完美,也是一种可行的选择。具体可看下我之前写的文章。[http://segmentfault.com/a/1190000000761578](http://segmentfault.com/a/1190000000761578)
@Daniel15 when using custom attributes in react, these attributes will be removed after rendering, to solve this problem, react supports all data-\* and aria-\* attributes
@queerkid 没在`ubuntu`上测试过,打开浏览器我是调用的[open](https://www.npmjs.com/package/open)这个库,其实就是根据不同操作系统调用不同的命令。 你如果测试没问题觉得ok就提个`pr`
@queerkid ``` javascript "use strict"; const open = require('open'); const path = require('path'); const file = path.join(__dirname,'index.html'); open(`file:///${file}`); ``` 我在`centos`上测试是没问题的,你可以写个这样的脚本在`ubuntu`上跑一下,看能不能打开。
@Harris-Aaron 这个应该是我tsconfig.json里的目录写错了。对应 的js文件我也提交了的,你不用tsc,直接跑应该能跑起来的。
@yangwuan55 [vscode](http://code.visualstudio.com/)