Skip to content

Commit

Permalink
Use output.path to resolve file in the memory system.
Browse files Browse the repository at this point in the history
  • Loading branch information
gajus committed Dec 7, 2015
1 parent 6d5907e commit 4d2a3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export default (options = {}) => {
return;
}

bundleFilePath = path.join('/', bundleFileName);
bundleFilePath = path.join(compiler.options.output.path, bundleFileName);
bundleBody = compiler.outputFileSystem.readFileSync(bundleFilePath);
outputFilePath = path.join(outputPath, bundleFileName);

Expand Down

0 comments on commit 4d2a3e5

Please sign in to comment.