mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-24 14:36:59 +02:00
refactor: convert CLI entry points to ESM; migrate create-docusaurus to ESM (#6661)
* refactor: convert CLI entry points to ESM * fix * fix * fix * fix! * create-docusaurus ESM * fix lock * final touchups * fix lodash * fix * use lodash * fix hasYarn
This commit is contained in:
parent
eacc695542
commit
67918e35e2
12 changed files with 85 additions and 54 deletions
|
@ -138,4 +138,9 @@ const logger = {
|
|||
success,
|
||||
};
|
||||
|
||||
// TODO remove when migrating to ESM
|
||||
// logger can only be default-imported in ESM with this
|
||||
module.exports = logger;
|
||||
module.exports.default = logger;
|
||||
|
||||
export default logger;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue