fix worker filtering in build with --s option
This commit is contained in:
parent
944edc931a
commit
4b4451673b
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ var buildAce = function(options) {
|
||||||
if (options.shrinkwrap) {
|
if (options.shrinkwrap) {
|
||||||
console.log('# combining files into one ---------');
|
console.log('# combining files into one ---------');
|
||||||
copy({
|
copy({
|
||||||
source: { root:targetDir, exclude:/^worker\-/ },
|
source: { root:targetDir, exclude:/(^|\\|\/)worker\-[^\\\/]*\.js$/ },
|
||||||
dest: BUILD_DIR + '/ace-min.js'
|
dest: BUILD_DIR + '/ace-min.js'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue