Skip to content

Commit

Permalink
fix: fix typo module -> moduels
Browse files Browse the repository at this point in the history
  • Loading branch information
tolluset committed Aug 9, 2023
1 parent 845ab6b commit d8361f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/build-options.md
Expand Up @@ -6,7 +6,7 @@
- **기본값:** `'modules'`
- **관련 항목:** [브라우저 지원 현황](/guide/build#browser-compatibility)

최종 번들을 위한 브라우저 호환성 타깃입니다. 기본값은 Vite에서만 사용 가능한 `'module'` 이며, [네이티브 ES 모듈](https://caniuse.com/es6-module), [네이티브 ESM의 동적 Import](https://caniuse.com/es6-module-dynamic-import), 그리고 [`import.meta`](https://caniuse.com/mdn-javascript_statements_import_meta)를 지원하는 브라우저를 타깃으로 합니다. 즉, Vite는 `'modules'``['es2020', 'edge88', 'firefox78', 'chrome87', 'safari14']`로 대체합니다.
최종 번들을 위한 브라우저 호환성 타깃입니다. 기본값은 Vite에서만 사용 가능한 `'modules'` 이며, [네이티브 ES 모듈](https://caniuse.com/es6-module), [네이티브 ESM의 동적 Import](https://caniuse.com/es6-module-dynamic-import), 그리고 [`import.meta`](https://caniuse.com/mdn-javascript_statements_import_meta)를 지원하는 브라우저를 타깃으로 합니다. 즉, Vite는 `'modules'``['es2020', 'edge88', 'firefox78', 'chrome87', 'safari14']`로 대체합니다.

또 다른 특수 값은 `'esnext'`입니다. 이는 네이티브 동적 가져오기가 지원되는 것으로 가정하고 가능한 한 적게 트랜스파일 됩니다:

Expand Down

0 comments on commit d8361f8

Please sign in to comment.