Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Fails to copy images into dev/img folder #245

Open
onort opened this issue Aug 24, 2020 · 0 comments
Open

[Bug] Fails to copy images into dev/img folder #245

onort opened this issue Aug 24, 2020 · 0 comments

Comments

@onort
Copy link
Contributor

onort commented Aug 24, 2020

Paths for images are incorrect in sync, copy tasks and sync task in styleguide.

// /gulp/tasks/sync.js 

-24 dirSync(`${paths.img}`, `${paths.styleguide.dist}/${paths.styleguide.assets.images}`, {
+24 dirSync(`${paths.img}`, `${envPath}/${paths.assets.img}`, {
// /gulp/tasks/styleguide/sync.js

-23 dirSync(`${paths.img}`, `${paths.dist}/${paths.assets.images}`, {
+23 dirSync(`${paths.img}`, `${paths.styleguide.dist}/${paths.styleguide.assets.images}`, {
// /gulp/tasks/copy.js

-7 return gulp
-8    .src(`${paths.img}/**/*`)
-9   .pipe(gulp.dest(`${paths.styleguide.dist}/${paths.styleguide.assets.images}`));
+7 return gulp.src(`${paths.img}/**/*`).pipe(gulp.dest(`${envPath}/${paths.assets.img}`));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant