Skip to content
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

[우창완] 챕터 10: 모듈형 자바스크립트 디자인 패턴 #91

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

WooWan
Copy link
Contributor

@WooWan WooWan commented Nov 24, 2024

No description provided.

Comment on lines +62 to +64
vscode는 최근에 amd로 작성된 모듈들을 esm 으로 마이그레이션하여 bundle size가 10%를 줄였다고 한다.

https://code.visualstudio.com/updates/v1_94#_esm-is-shipping-for-vs-code
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오오.. 하나 또 알아갑니다🧐

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

대창완 👏 👏

Comment on lines +77 to +89
node 23 부터 require(esm) 을 지원한다.

https://github.com/nodejs/node/pull/51977

```js
// main.js
const required = require('./point.mjs');

(async () => {
const imported = await import('./point.mjs');
console.log(imported === required); // true
})();
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍👍👍

Copy link
Member

@hyesungoh hyesungoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 👍 👍

Comment on lines +62 to +64
vscode는 최근에 amd로 작성된 모듈들을 esm 으로 마이그레이션하여 bundle size가 10%를 줄였다고 한다.

https://code.visualstudio.com/updates/v1_94#_esm-is-shipping-for-vs-code
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

대창완 👏 👏

@WooWan WooWan merged commit 3815549 into main Dec 20, 2024
1 check passed
@WooWan WooWan deleted the 10/우창완 branch December 20, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants