Skip to content

Commit a5a34fc

Browse files
committed
Fix compile.
1 parent 2d7f8e4 commit a5a34fc

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

.docksal/commands/gulp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -e
1111

1212
source "${PROJECT_ROOT}/.docksal/commands/helpers"
1313

14-
cd "${DOCROOT_PATH}"
14+
cd "${PROJECT_ROOT}"
1515

1616
if [ ! -d "node_modules" ]
1717
then

.docksal/commands/helpers

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
#-------------------------- Settings --------------------------------
88

99
PROJECT_ROOT="/var/www"
10-
DOCROOT_PATH="${PROJECT_ROOT}/web"
1110

1211
#-------------------------- END: Settings --------------------------------
1312

.docksal/commands/npm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ set -e
1111

1212
source "${PROJECT_ROOT}/.docksal/commands/helpers"
1313

14-
cd "${DOCROOT_PATH}"
14+
cd "${PROJECT_ROOT}"
1515

1616
#-------------------------- Execution --------------------------------
1717

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function assets(){
309309
target.src + 'img/logo-ANS-footer.svg',
310310
target.src + 'img/logo-ANS.svg',
311311
target.src + 'img/logo-ministere.svg',
312-
], {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
312+
], {base: 'web/src/img'}) // defines a base to keep folder structure: https://stackoverflow.com/questions/35845039/how-base-option-affects-gulp-src-gulp-dest/35848322#35848322
313313
.pipe(dest(target.buildSite + 'img'));
314314

315315
const assetsImgStyleguide = src(files.imgToWatch)

0 commit comments

Comments
 (0)