From 4b4451673be4e76e696493142f35a899c770de30 Mon Sep 17 00:00:00 2001 From: nightwing Date: Sun, 3 Feb 2013 16:42:53 +0400 Subject: [PATCH] fix worker filtering in build with --s option --- Makefile.dryice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 1e7952a9..4ecd397f 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -441,7 +441,7 @@ var buildAce = function(options) { if (options.shrinkwrap) { console.log('# combining files into one ---------'); copy({ - source: { root:targetDir, exclude:/^worker\-/ }, + source: { root:targetDir, exclude:/(^|\\|\/)worker\-[^\\\/]*\.js$/ }, dest: BUILD_DIR + '/ace-min.js' }); }