mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 02:56:57 +02:00
refactor: use export = syntax for utility packages (#7295)
This commit is contained in:
parent
a2c993bf9a
commit
1a9bdd1a4e
2 changed files with 2 additions and 7 deletions
|
@ -149,7 +149,4 @@ const logger = {
|
|||
|
||||
// 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;
|
||||
export = logger;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue