Skip to content

Commit

Permalink
6.0.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
enact-bot committed Jul 25, 2023
2 parents 7164860 + fdc0470 commit 833e424
Show file tree
Hide file tree
Showing 8 changed files with 3,654 additions and 3,782 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## 6.0.0 (May 18, 2023)
# 6.0.1 (July 25, 2023)

* Updated `chalk` version to `^5.3.0`.
* Updated `find-cache-dir` version to `^4.0.0`.

# 6.0.0 (May 18, 2023)

* Updated all dependencies to the latest.
* Updated the minimum version of Node to `14.15.0` and dropped the support for Node 12 and 17.
Expand Down
15 changes: 9 additions & 6 deletions mixins/verbose.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ module.exports = {
const prerenderInstance = helper.getPluginByName(config, 'PrerenderPlugin');
const snapshotPluginInstance = helper.getPluginByName(config, 'SnapshotPlugin');

return config.plugins.push(
new VerboseLogPlugin({
prerenderPlugin: prerenderInstance && prerenderInstance.constructor,
snapshotPlugin: snapshotPluginInstance && snapshotPluginInstance.constructor
})
);
import('chalk').then(({Chalk}) => {
return config.plugins.push(
new VerboseLogPlugin({
prerenderPlugin: prerenderInstance && prerenderInstance.constructor,
snapshotPlugin: snapshotPluginInstance && snapshotPluginInstance.constructor,
chalkInstance: Chalk
})
);
});
}
};
Loading

0 comments on commit 833e424

Please sign in to comment.