fix worker filtering in build with --s option

This commit is contained in:
nightwing 2013-02-03 16:42:53 +04:00
commit 4b4451673b

View file

@ -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'
});
}