You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.pipe(dest(target.buildStyleguide+'style'));// put final CSS in dist folder
153
154
}
154
155
156
+
// Sass TarteAuCitron task: compiles the tarteaucitron-ds-ans.scss file into tarteaucitron-ds-ans.css
157
+
functionstyleTarteAuCitron(){
158
+
returnsrc(files.scssTarteAuCitron)
159
+
.pipe(sass().on('error',sass.logError))// compile SCSS to CSS
160
+
.pipe(postcss([
161
+
autoprefixer(),
162
+
cssnano()
163
+
]))// PostCSS plugins
164
+
.pipe(dest(target.buildStyleguide+'style'));// put final CSS in dist folder
165
+
}
166
+
155
167
// JS APP task: concatenates and uglifies JS files to app.js
156
168
functionscriptApp(){
157
169
returnsrc([
@@ -309,8 +321,11 @@ function assets(){
309
321
.pipe(dest(target.buildStyleguide+'font'));
310
322
311
323
constassetsImg=src([
312
-
target.src+'img/*.*',
313
324
target.src+'img/pictogrammes-illustratifs/*.*',
325
+
target.src+'img/favicon.ico',
326
+
target.src+'img/logo-ANS-footer.svg',
327
+
target.src+'img/logo-ANS.svg',
328
+
target.src+'img/logo-ministere.svg',
314
329
],{base: './src/img/'})// defines a base to keep folder structure: https://stackoverflow.com/questions/35845039/how-base-option-affects-gulp-src-gulp-dest/35848322#35848322
315
330
.pipe(dest(target.buildSite+'img'));
316
331
@@ -346,8 +361,14 @@ function zipPictogrammesIllustratifs(){
0 commit comments