posthtml-component 1.0.0-beta.7 → 1.0.0-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/locals.js +1 -1
package/package.json
CHANGED
package/src/locals.js
CHANGED
|
@@ -62,7 +62,7 @@ module.exports = (currentNode, nextNode, filledSlots, options) => {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
// Merge with global
|
|
65
|
-
attributes = mergeWith(options.expressions.locals, attributes, options.mergeCustomizer);
|
|
65
|
+
attributes = mergeWith({}, options.expressions.locals, attributes, options.mergeCustomizer);
|
|
66
66
|
|
|
67
67
|
// There is no way to know here what are locals
|
|
68
68
|
// and what attributes passed to component
|