Skip to content

Commit

Permalink
editor tips
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Jul 1, 2024
1 parent c8346ff commit ddf49ef
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function vitePluginServerIslands({ settings }: { settings: AstroSettings
return `export const serverIslandMap = ${serverIslandPlaceholder};`;
}
},
transform(code, id, options) {
transform(_code, id) {
if(id.endsWith('.astro')) {
const info = this.getModuleInfo(id);
if(info?.meta) {
Expand Down Expand Up @@ -73,7 +73,7 @@ export function vitePluginServerIslands({ settings }: { settings: AstroSettings
}
}
},
generateBundle(options, bundles) {
generateBundle(_options, bundles) {
let mapSource = 'new Map([';
for(let [resolvedPath, referenceId] of referenceIdMap) {
const fileName = this.getFileName(referenceId);
Expand Down

0 comments on commit ddf49ef

Please sign in to comment.