Skip to content

Commit

Permalink
fix(rollup): remove wrong context
Browse files Browse the repository at this point in the history
context is a variable to specify top-level `this` value no cwd
  • Loading branch information
pi0 committed Aug 18, 2022
1 parent 626a80e commit 67d1d38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/builder/rollup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ export function getRollupOptions (ctx: BuildContext): RollupOptions {
}

return {
context: ctx.options.rootDir,

input: Object.fromEntries(ctx.options.entries
.filter(entry => entry.builder === 'rollup')
.map(entry => [entry.name, resolve(ctx.options.rootDir, entry.input)])
Expand Down

0 comments on commit 67d1d38

Please sign in to comment.