
https://toss.tech/article/commonjs-esm-exports-field CommonJS와 ESM에 모두 대응하는 라이브러리 개발하기: exports field Node.js에는 두 가지 Module System이 존재합니다. 토스 프론트엔드 챕터에서 운영하는 100개가 넘는 라이브러리들은 그것에 어떻게 대응하고 있을까요? toss.tech CJS는 require / module.exports 를 사용하고, ESM은 import / export 문을 사용합니다. CJS module loader는 동기적으로 작동하고, ESM module loader는 비동기적으로 작동합니다. ESM은 Top-level Await을 지원하기 때문에 비동기적으로 동작합니다. 따라서 ESM에서 CJS를 i..

2022-12-26 require() of ES Module C:\Users\pakjk\VSCodeProjects\FastcodeNuxtProject\node_modules\axios\index.js from C:\Users\pakjk\VSCodeProjects\FastcodeNuxtProject\node_modules\vue-server-renderer\build.dev.js not supported. Instead change the require of index.js in C:\Users\pakjk\VSCodeProjects\FastcodeNuxtProject\node_modules\vue-server-renderer\build.dev.js to a dynamic import() which is a..
- Total
- Today
- Yesterday
- database
- nodejs
- Django
- Oracle
- React
- Mongo
- jQuery
- docker
- terms
- Python
- Algorithm
- tensorflow
- COLAB
- JPA
- Eclipse
- AWS
- mariadb
- vscode
- springMVC
- SQLAlchemy
- intellij
- SpringBoot
- Git
- Java
- Mlearn
- KAFKA
- JUnit
- ERD
- FLASK
- maven
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |