Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/minipack.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ function createGraph(entry) {
// relative to the file that imported them. We can turn the relative path
// into an absolute one by joining it with the path to the directory of
// the parent asset.
const absolutePath = path.join(dirname, relativePath);
const absolutePath = path.resolve(dirname, relativePath);

// Parse the asset, read its content, and extract its dependencies.
const child = createAsset(absolutePath);
Expand Down