I have a silly doubt. Which file, the import
ing file, the export
ing file or both should have the .mjs
file extension?
Specifically for NodeJS.
I have searched the web but didn't get my exact answer.
Thanks in advance!
I have a silly doubt. Which file, the import
ing file, the export
ing file or both should have the .mjs
file extension?
Specifically for NodeJS.
I have searched the web but didn't get my exact answer.
Thanks in advance!
Copyright © 2021 Jogjafile Inc.
I think just the one that uses the import should be in
.mjs
. From the docs: