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

Commit 2117b0f

Browse files
committed
fix(fractal,stores): Fix webpack build
1 parent 5a45993 commit 2117b0f

File tree

1 file changed

+4
-4
lines changed
  • packages/cli-plugin-fractal/src/fractal

1 file changed

+4
-4
lines changed

packages/cli-plugin-fractal/src/fractal/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ module.exports = {
2121
async copy(config) {
2222
const { copy = [] } = config.get('fractal');
2323

24-
const promises = copy.map(task => {
25-
return toPromise(
24+
const promises = copy.map(task =>
25+
toPromise(
2626
gulp
2727
.src(task.paths)
2828
.pipe(newer(task.outputDir))
2929
.pipe(debug({ title: 'Copying ' }))
3030
.pipe(gulp.dest(task.outputDir))
31-
);
32-
});
31+
)
32+
);
3333

3434
return Promise.all(promises);
3535
},

0 commit comments

Comments
 (0)