gulp-alias-combo
gulp-alias-combo copied to clipboard
一个根据配置合并js文件的gulp插件,合并时会自动提取模块间的依赖
因为0.3.3版本也存在bug所以准备想还原到0.2.7但是还原不回去只还原到0.2.9但这个版本就出现了下面的问题,之前一直用的0.2.7版本是没有任何问题的并且很稳定,但这个版本还原不回去了,这个模块我要弃用了吗?????? 报错如下: F:\devStatic\node_modules\gulp-alias-combo\index.js:28 content = content.replace(commentReg, '') ^ RangeError: Maximum call stack size exceeded at String.replace () at analyseDeps (F:\devStatic\node_modules\gulp-alias-combo\index.js:28:23) at F:\devStatic\node_modules\gulp-alias-combo\index.js:35:21 at Array.forEach () at analyseDeps (F:\devStatic\node_modules\gulp-alias-combo\index.js:31:14) at F:\devStatic\node_modules\gulp-alias-combo\index.js:35:21...
如代码: Jslider._setting = { isAutoPlay: false, //自动播放 animateType: "card",//动画方式card (这一行注释与值没有空格,在gulp的时候会报错) onslidestart: null, //滑动开始执行的函数 onslideend: null, //滑动结束后执行的函数 isVertical: true, //判断横向还是竖向切换 animateTime: 3000 //播放时间 } 属性 animateType: "card"与后面的注释不存在空格的情况下在gulp的时候会报错,如下错误: events.js:183 throw er; //...
define(function(require){ gmu.define( 'Dialog', { options: {} }) }) 会变成这样的 导致不可用,最后会被替换为(gmu-dialog是取得路径别名) define('gmu-dialog', function(require){ gmu.define('gmu-dialog', 'Dialog', { options: {} }) }) 有什么解决方案吗,大神求助。。。
Is there a plan to add support for sourcemap file?