---
title: scriptLoading
configName: html.scriptLoading
---

# html.scriptLoading

- **类型：** `'defer' | 'blocking' | 'module'`
- **默认值：** `'defer'`

用于设置 `<script>` 标签的加载方式。

import RsbuildConig from '@site-docs/components/rsbuild-config-tooltip';

<RsbuildConig />
