Skip to content

Commit

Permalink
chore(rollup): clarify the callback argument 'e' to 'entry' (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
sukvvon authored Jan 12, 2025
1 parent 6c0a178 commit e1e1c28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function createESMConfig(input, output) {
output: { file: output, format: 'esm' },
external,
plugins: [
alias({ entries: entries.filter((e) => !e.find.test(input)) }),
alias({ entries: entries.filter((entry) => !entry.find.test(input)) }),
resolve({ extensions }),
replace({
...(output.endsWith('.js')
Expand All @@ -75,7 +75,7 @@ function createCommonJSConfig(input, output) {
output: { file: output, format: 'cjs' },
external,
plugins: [
alias({ entries: entries.filter((e) => !e.find.test(input)) }),
alias({ entries: entries.filter((entry) => !entry.find.test(input)) }),
resolve({ extensions }),
replace({
'import.meta.env?.MODE': 'process.env.NODE_ENV',
Expand Down

0 comments on commit e1e1c28

Please sign in to comment.