vaderjs 1.3.3-alpha-10 → 1.3.3-alpha-12
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/client/index.js +1 -1
- package/package.json +1 -1
- package/vader.js +2 -1
package/client/index.js
CHANGED
package/package.json
CHANGED
package/vader.js
CHANGED
|
@@ -473,6 +473,8 @@ function Compiler(func) {
|
|
|
473
473
|
return array;
|
|
474
474
|
};
|
|
475
475
|
|
|
476
|
+
string = string.replaceAll('vaderjs/client', './vader.js')
|
|
477
|
+
|
|
476
478
|
// capture <Component />, <Component></Component>, and <Component>content</Component>
|
|
477
479
|
|
|
478
480
|
// Example usage
|
|
@@ -483,7 +485,6 @@ function Compiler(func) {
|
|
|
483
485
|
let componentMatch = body.match(componentRegex);
|
|
484
486
|
let topComponent = "";
|
|
485
487
|
componentMatch?.forEach(async (component) => {
|
|
486
|
-
const rewriter = new HTMLRewriter();
|
|
487
488
|
let [, element, attributes] = component;
|
|
488
489
|
|
|
489
490
|
!isChild ? (topComponent = component) : null;
|