Skip to content

Commit 833e424

Browse files
committed
6.0.1 release
2 parents 7164860 + fdc0470 commit 833e424

File tree

8 files changed

+3654
-3782
lines changed

8 files changed

+3654
-3782
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
## 6.0.0 (May 18, 2023)
1+
# 6.0.1 (July 25, 2023)
2+
3+
* Updated `chalk` version to `^5.3.0`.
4+
* Updated `find-cache-dir` version to `^4.0.0`.
5+
6+
# 6.0.0 (May 18, 2023)
27

38
* Updated all dependencies to the latest.
49
* Updated the minimum version of Node to `14.15.0` and dropped the support for Node 12 and 17.

mixins/verbose.js

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ module.exports = {
66
const prerenderInstance = helper.getPluginByName(config, 'PrerenderPlugin');
77
const snapshotPluginInstance = helper.getPluginByName(config, 'SnapshotPlugin');
88

9-
return config.plugins.push(
10-
new VerboseLogPlugin({
11-
prerenderPlugin: prerenderInstance && prerenderInstance.constructor,
12-
snapshotPlugin: snapshotPluginInstance && snapshotPluginInstance.constructor
13-
})
14-
);
9+
import('chalk').then(({Chalk}) => {
10+
return config.plugins.push(
11+
new VerboseLogPlugin({
12+
prerenderPlugin: prerenderInstance && prerenderInstance.constructor,
13+
snapshotPlugin: snapshotPluginInstance && snapshotPluginInstance.constructor,
14+
chalkInstance: Chalk
15+
})
16+
);
17+
});
1518
}
1619
};

0 commit comments

Comments
 (0)