Skip to content

Commit a944d26

Browse files
committed
Added vendor directories
1 parent 49b0606 commit a944d26

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

config/grunt/clean.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@ module.exports = {
77
},
88
css: {
99
src: [
10-
'<%= paths.cssDist %>'
10+
'<%= paths.cssDist %>',
11+
'<%= paths.cssVend %>'
1112
]
1213
},
1314
fonts: {
1415
src: [
15-
'<%= paths.fontDist %>'
16+
'<%= paths.fontDist %>',
17+
'<%= paths.fontVend %>'
1618
]
1719
},
1820
js: {
1921
src: [
20-
'<%= paths.jsDist %>'
22+
'<%= paths.jsDist %>',
23+
'<%= paths.jsVend %>'
2124
]
2225
},
2326
images: {

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ module.exports = function() {
1111
languages: 'languages/',
1212
release: 'release/',
1313
jsSrc: 'js/src/',
14+
jsVend: 'js/src/vendor/',
1415
jsDist: 'js/dist/',
1516
cssSrc: 'css/src/',
17+
cssVend: 'css/src/vendor/',
1618
cssDist: 'css/dist/',
1719
fontSrc: 'font/src/',
20+
fontVend: 'font/src/vendor/',
1821
fontDist: 'font/dist/',
1922
imagesSrc: 'images/src/',
2023
imagesDist: 'images/dist/',
@@ -45,7 +48,7 @@ module.exports = function() {
4548
project.files.js = [
4649
project.paths.jsSrc + '**/*.js',
4750
'!' + project.paths.jsSrc + '**/*.min.js',
48-
'!' + project.paths.jsSrc + 'vendor/'
51+
'!' + project.paths.jsVend
4952
];
5053

5154
project.files.php = [

0 commit comments

Comments
 (0)