﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>---
url: /reference/Function.stringifyModuleId.md
---
# Function: stringifyModuleId()

* **Exported from**: `rolldown/utils`
* **Type**: (`rawId`: `string`, `attributes?`: `Record`<`string`, `string`>) => `string`

Builds the module id of `rawId` imported with `attributes`. Without attributes it is `rawId`
itself.

## Parameters

### rawId

`string`

### attributes?

`Record`<`string`, 