Skip to content

Commit

Permalink
Fixed error when used with code splitting feature
Browse files Browse the repository at this point in the history
  • Loading branch information
lmoronil committed Dec 11, 2018
1 parent 438eaa0 commit 469daa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export default function rebase(options = {}) {
return null
},

async generateBundle({ file }) {
const outputFolder = path.dirname(file)
async generateBundle({ file, dir }) {
const outputFolder = dir || path.dirname(file)

try {
// Copy all assets in parallel and waiting for it to complete.
Expand Down

0 comments on commit 469daa4

Please sign in to comment.