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 @@ -36,7 +36,7 @@ let ID = 0;

// We start by creating a function that will accept a path to a file, read
// its contents, and extract its dependencies.
function createAsset(filename) {
function createAsset(filePath) {
// Read the content of the file as a string.
const content = fs.readFileSync(filename, 'utf-8');

Expand Down