Skip to content

Commit

Permalink
feat: virtual-insert-func - updated comment
Browse files Browse the repository at this point in the history
Updated comment to state result of code a bit clearer.
  • Loading branch information
elycruz authored Oct 30, 2024
1 parent 07233c1 commit 2c5594f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ const processRenderResponse = (
if (rollupOptions.insert) {
/**
* Include import using {@link INSERT_STYLE_ID} as source.
* It will be resolved to insert style function using `resolvedID` and `load` hooks
* It will be resolved to insert style function using `resolvedID` and `load` hooks;
* e.g., the path will completely replaced, and re-generated (as a relative path)
* by rollup.
*/
imports = `import ${INSERT_STYLE_ID} from '${INSERT_STYLE_ID}';\n`;
defaultExport = `${INSERT_STYLE_ID}(${out});`;
Expand Down

0 comments on commit 2c5594f

Please sign in to comment.