Skip to content

Commit

Permalink
Merge pull request #23 from beavis07/master
Browse files Browse the repository at this point in the history
Fix broken 'handlerEntryPath'
  • Loading branch information
asprouse authored Jul 15, 2016
2 parents 07c2184 + b365dc6 commit a11b688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ module.exports = function getPlugin(S) {
const webpackConfig = Object.assign({}, config.webpackConfig);
const handlerName = func.getHandler().split('.')[0];
const handlerFileName = `${handlerName}.${config.handlerExt}`;
const handlerEntryPath = `./${handlerFileName}`;
const handlerEntryPath = path.join(pathDist, handlerFileName);

// override entry and output
webpackConfig.context = path.dirname(func.getFilePath());
Expand Down

0 comments on commit a11b688

Please sign in to comment.