-
-
Notifications
You must be signed in to change notification settings - Fork 503
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
Eleventy 3.0.0 is using @11ty/dependency-tree #3593
Comments
We use both |
I think the build works, but the watch didn't. Anyway, I hope you will release |
We have some CommonJS/ESM detection in Eleventy (which might be buggy?)—but I can’t determine without an answer to whether or not |
@zachleat The issue arise with node v22.10.0 and lower. In v23.3.0 no issues |
Operating system
Windows 10
Eleventy
3.0.0
Describe the bug
There seem to be packages that still depend on CommonJS packages
Reproduction steps
(node:12456) ExperimentalWarning: CommonJS module C:\…\node_modules\@11ty\dependency-tree\main.js is loading ES Module C:\…\site\.eleventy.js using require(). Support for loading ES Module in require() is an experimental feature and might change at any time
Expected behavior
I expect for 11ty 3.0.0 to use the ESM version: dependency-tree-esm
Reproduction URL
No response
Screenshots
No response
The text was updated successfully, but these errors were encountered: