Skip to content

Commit

Permalink
fix: copy source files to destination
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin committed Nov 17, 2024
1 parent 6f07577 commit 0b4caab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ export default async (config = {}) => {
relativePath = path.relative('.', file)
}

const targetPath = path.join(config.build.output.path, relativePath)
const targetPath = path.join(buildOutputPath, relativePath)
await copyFileAsync(file, targetPath)
}
} catch (error) {
console.error(`Error while processing pattern ${pattern}: `, err);
console.error('Error while processing pattern:', error)
}

/**
Expand Down

0 comments on commit 0b4caab

Please sign in to comment.