---
title: styleLoader
configName: tools.styleLoader
---

# tools.styleLoader

- **Type:** `Object | Function`
- **Default:** `{}`

The config of [style-loader](https://github.com/webpack-contrib/style-loader) can be set through `tools.styleLoader`.

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

<RsbuildConig />
