Skip to content

Bundle plugin in ESM format #900

Open
@Belco90

Description

@Belco90

The current bundle is in CJS format. Since ESLint flat config default format is ESM, we need to build the plugin for this format by default. Let's keep compatibility with CJS format for now, so we get both (we will have to point to the corresponding dist/ paths for each in the exports field of the package.json.

Some resources on how to publish in both CJS and ESM with TS:

Metadata

Metadata

Assignees

Labels

choreChanges that affect the build system, CI config or other changes that don't modify src/test filesenhancementNew feature or request

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions