Skip to content

Commit 5c0b1c7

Browse files
committed
Fix default distDir to read from context
1 parent 0e52e60 commit 5c0b1c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ module.exports = {
2424
*/
2525

2626
defaultConfig: {
27-
distDir: 'dist'
27+
distDir: function(context) {
28+
return context.distDir;
29+
}
2830
},
2931
requiredConfig: ['distDir'],
3032

0 commit comments

Comments
 (0)