Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sasan Farrokh committed Jul 1, 2021
1 parent b78652b commit dd17030
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
node_modules
node_modules
examples/**
2 changes: 1 addition & 1 deletion src/multiDevicePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default function multiDevice (rawOptions?: typeof defaultOptions): Plugin
}
}
},
transform (code: string, id: string, ssr?: boolean) {
transform (code: string, id: string) {
const newCode = replace.transform && replace.transform.call(this, code, id);
if (newCode) debug('transforming: ' + id);
return newCode;
Expand Down

0 comments on commit dd17030

Please sign in to comment.