Skip to content

Repo: Docusaurus builds are broken on main  #7165

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

Suggestion

Trying yarn start on main locally:

[INFO] Starting the development server...
[ERROR] Error: 
  x Export assignment cannot be used when targeting ECMAScript modules. Consider using `export default` or another module format instead.
     ,-[/Users/josh/repos/typescript-eslint/packages/website/docusaurusConfig.ts:302:1]
 302 |   ],
 303 | };
 304 | 
 305 | export = config;
     : ^^^^^^^^^^^^^^^^
     `----

sigh

Guessing an automatic update of something broke running Docusaurus. Will have to bisect through the Git history to see when this happened...

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuebugSomething isn't workingrepo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions