Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

Commit

Permalink
fix(fractal,stores): Fix webpack build
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Nov 6, 2018
1 parent 5a45993 commit 2117b0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/cli-plugin-fractal/src/fractal/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ module.exports = {
async copy(config) {
const { copy = [] } = config.get('fractal');

const promises = copy.map(task => {
return toPromise(
const promises = copy.map(task =>
toPromise(
gulp
.src(task.paths)
.pipe(newer(task.outputDir))
.pipe(debug({ title: 'Copying ' }))
.pipe(gulp.dest(task.outputDir))
);
});
)
);

return Promise.all(promises);
},
Expand Down

0 comments on commit 2117b0f

Please sign in to comment.