Skip to content

Instantly share code, notes, and snippets.

@fronteer-kr
Last active August 29, 2015 14:26
Show Gist options
  • Save fronteer-kr/5f633cad97982ba1f977 to your computer and use it in GitHub Desktop.
Save fronteer-kr/5f633cad97982ba1f977 to your computer and use it in GitHub Desktop.
total.js 의 index.js 내부의 compileConent 함수 보완
Framework.prototype.compileContent = function(extension, content, filename) {
var self = this;
// 수정전
// if (filename && (filename.indexOf('.min.') !== -1 || filename.indexOf('-min.') !== -1 ))
// 수정후
if (filename && (filename.indexOf('.min.') !== -1 || filename.indexOf('-min.') !== -1 || filename.indexOf('js-min') !== -1 ))
return content;
// ... 생략
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment