diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 2239215b..3a9f75f1 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -478,7 +478,7 @@ function quoteString(str) { } function filterTextPlugin(text) { - return text.replace(/(['"])ace\/requirejs\/text\!/g, "$1text!"); + return text.replace(/(['"])(ace|[.\/]+?)\/requirejs\/text\!/g, "$1"); } function removeUseStrict(text) {