From 8250fd8a3da1da708f95d9c84a127f40955fc2ac Mon Sep 17 00:00:00 2001 From: Juntai Park Date: Thu, 21 Jul 2022 16:43:22 +0900 Subject: [PATCH] Add CommonJS project to ESM draft --- Nodejs/common-js-project-to-esm.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Nodejs/common-js-project-to-esm.md diff --git a/Nodejs/common-js-project-to-esm.md b/Nodejs/common-js-project-to-esm.md new file mode 100644 index 0000000..dc6d5b2 --- /dev/null +++ b/Nodejs/common-js-project-to-esm.md @@ -0,0 +1,13 @@ +# CommonJS project to ESM + +- https://github.com/knowbee/rona-vscode-extension +convert require syntax to ES6 import syntax in the current opened file +번거로우니 확장 사용. + +https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-move-my-commonjs-project-to-esm + +https://devblog.kakaostyle.com/ko/2022-04-09-1-esm-problem/ + +https://kwoncheol.me/posts/dotenv-and-module + +https://github.com/motdotla/dotenv#how-do-i-use-dotenv-with-import \ No newline at end of file