We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea8959 commit 06a8653Copy full SHA for 06a8653
lib/index.js
@@ -34,7 +34,7 @@ module.exports = (options = {}) => {
34
const localsJson = JSON.parse(localsRaw);
35
posthtmlExpressionsOptions = {
36
...posthtmlExpressionsOptions,
37
- locals: posthtmlExpressionsOptions.locals ? Object.assign(localsJson, posthtmlExpressionsOptions.locals) : localsJson
+ locals: posthtmlExpressionsOptions.locals ? Object.assign(posthtmlExpressionsOptions.locals, localsJson) : localsJson
38
};
39
} catch {}
40
0 commit comments