Skip to content

Commit

Permalink
fix: pass correct object to resolve (#456)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreyks authored and jquense committed Oct 17, 2019
1 parent 8019359 commit 6348f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/buildTaggedTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const rUnit = new RegExp(`^(${cssUnits.join('|')})(;|,|\n| |\\))`);

function defaultResolveDependency({ request }, localStyle) {
const source = resolve.sync(request, {
baseDir: dirname(localStyle.absoluteFilePath),
basedir: dirname(localStyle.absoluteFilePath),
});

return { source };
Expand Down

0 comments on commit 6348f97

Please sign in to comment.