- Preparing search index...
- The search index is not available
Modelina
Function renderJavaScriptDependency
- renderJavaScriptDependency(toImport, fromModule, moduleSystem): string
-
Parameters
-
toImport: string
-
fromModule: string
-
moduleSystem: "CJS" | "ESM"
Returns string
Function to make it easier to render JS/TS dependencies based on module system