Exclude JS sources from release package

This commit is contained in:
Dmitriy Simushev 2014-12-23 14:48:26 +00:00
parent 1fae58c350
commit 53c60eed76

View File

@ -230,7 +230,9 @@ gulp.task('pack-sources', ['composer-install'], function() {
'!' + config.phpVendorPath + '/**/.git', '!' + config.phpVendorPath + '/**/.git',
'!' + config.phpVendorPath + '/**/.git/**/*', '!' + config.phpVendorPath + '/**/.git/**/*',
// Exclude vendors binaries // Exclude vendors binaries
'!' + config.phpVendorPath + '/bin/**/*' '!' + config.phpVendorPath + '/bin/**/*',
// Exclude JavaScript sources
'!' + config.jsPath + '/source/**/*'
]; ];
var srcOptions = { var srcOptions = {
// Dot files (.htaccess, .keep, etc.) must be included in the package. // Dot files (.htaccess, .keep, etc.) must be included in the package.