Skip to content

Commit

Permalink
fix: locals passed to fetch plugin
Browse files Browse the repository at this point in the history
must be an object with a `locals` key
  • Loading branch information
cossssmin committed Aug 1, 2024
1 parent 810c87e commit cca8060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/posthtml/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function process(html = '', config = {}) {
merge(
{
expressions: merge(
locals,
{ locals },
expressionsOptions,
{
missingLocal: '{local}',
Expand Down

0 comments on commit cca8060

Please sign in to comment.