Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Sep 18, 2024
1 parent 3f40561 commit f2a0e05
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/rolldownDepPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export function rolldownCjsExternalPlugin(

return {
name: 'cjs-external',
resolveId(id, importer, options) {
resolveId(id, _importer, options) {
if (id.startsWith(nonFacadePrefix)) {
return {
id: id.slice(nonFacadePrefix.length),
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/node/optimizer/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ function rolldownScanPlugin(

return {
name: 'vite:dep-scan',
async resolveId(id, importer, options) {
async resolveId(id, importer) {
// external urls
if (externalRE.test(id)) {
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/src/node/server/pluginContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ class EnvironmentPluginContainer {
}

async watchChange(
id: string,
change: { event: 'create' | 'update' | 'delete' },
_id: string,
_change: { event: 'create' | 'update' | 'delete' },
): Promise<void> {
// await this.hookParallel(
// 'watchChange',
Expand Down

0 comments on commit f2a0e05

Please sign in to comment.