-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ember build
modifies node_modules
by populating esm cache
#7379
Comments
ref #7322 |
Hmm it seems like that PR should have been included in 3.22 right? |
In my testing, this cache was always created (just tested on 3.18). https://github.com/standard-things/esm#devopts As a side note, I noticed some potential bugs with esm. With So we are still creating something. I think there is still some investigation here. |
Since Node 12 and higher support modules natively, maybe we should look into use the native support when we can (and fallback to |
ember build
modifies node_modules
ember build
modifies node_modules
by populating esm cache
I recently did some work requiring interop of native modules with cjs modules for node-12. Said interop requires using the experimental modules support flag when running the script and importing via |
the existence of |
Reproduction
Description
After a
ember build
, ember data adds extra files to thenode_modules
directory.Versions
I think this has been an issue for the last few versions at least, but this was tested using 3.22
The text was updated successfully, but these errors were encountered: