Skip to content

Interface: LoadExtraOptions ​

Properties ​

attributes ​

  • Type: Record<string, string>

The import attributes the module was imported with. {} means none. Without experimental.importAttributes, it is always {}, even when the import has attributes.


rawId ​

  • Type: string

The module id without import attributes. Read the file from it. Without experimental.importAttributes, it equals id.

Was this page helpful?