You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I realize that this warning is triggered because package.json main has file name ending .mjs. New Node should let us use exports instead.
But, Node.js will soon ship with ESM without being behind flag, It’s coming soon. It’s a a matter of finishing a few issues, (TODO: find ticket in Node.js project).
Are there plans to remove the warning if the target is Node.js v14.
The text was updated successfully, but these errors were encountered:
Of course, NodeJS has a lot to develop. Just by saying in version 20 introduced --env-file option to load variables and version 21 introduced loadEnvFile function from 'node:process'.
Following up with #160
Node.js v14 (soon to be LTS) will (should?) ship with ESM modules without being under flag, but will only when file name ends by .mjs.
We can still call the file any name we want, Bili warns that it’s best not to use that file extension.
I realize that this warning is triggered because package.json main has file name ending .mjs. New Node should let us use exports instead.
But, Node.js will soon ship with ESM without being behind flag, It’s coming soon. It’s a a matter of finishing a few issues, (TODO: find ticket in Node.js project).
Are there plans to remove the warning if the target is Node.js v14.
The text was updated successfully, but these errors were encountered: