Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition config scripts to ESM format (Eleventy 3.0) #35

Open
querkmachine opened this issue Nov 24, 2023 · 2 comments · May be fixed by #71
Open

Transition config scripts to ESM format (Eleventy 3.0) #35

querkmachine opened this issue Nov 24, 2023 · 2 comments · May be fixed by #71
Assignees
Labels
enhancement New feature or request

Comments

@querkmachine
Copy link
Owner

querkmachine commented Nov 24, 2023

ES Modules seem to be the future of importing and exporting JavaScript, and I'm increasingly hitting up against dependencies that have transitioned to only support use in ESM, forcing me to use older versions that lack more recent features and bugfixes.

Eleventy currently does not natively support configuration files being in ESM format, but this support is being added in Eleventy 3.0 (11ty/eleventy#3074).

It's probably worth moving off CJS format at some point soon after this becomes available.

@querkmachine querkmachine added the enhancement New feature or request label Nov 24, 2023
@querkmachine querkmachine self-assigned this Nov 24, 2023
@querkmachine querkmachine changed the title Transition config scripts to ESM format Transition config scripts to ESM format (Eleventy 3.0) Nov 24, 2023
@querkmachine
Copy link
Owner Author

There's now a 'canary' version of Eleventy 3 available that is stable enough to probably be usable.
https://www.11ty.dev/blog/canary-eleventy-v3/

@querkmachine
Copy link
Owner Author

@querkmachine querkmachine linked a pull request Jul 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant