vaderjs 1.3.3-alpha-11 → 1.3.3-alpha-13
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 +3 -1
package/client/index.js
CHANGED
package/package.json
CHANGED
package/vader.js
CHANGED
|
@@ -485,7 +485,6 @@ function Compiler(func) {
|
|
|
485
485
|
let componentMatch = body.match(componentRegex);
|
|
486
486
|
let topComponent = "";
|
|
487
487
|
componentMatch?.forEach(async (component) => {
|
|
488
|
-
const rewriter = new HTMLRewriter();
|
|
489
488
|
let [, element, attributes] = component;
|
|
490
489
|
|
|
491
490
|
!isChild ? (topComponent = component) : null;
|
|
@@ -656,6 +655,9 @@ async function Build() {
|
|
|
656
655
|
});
|
|
657
656
|
scannedVaderFiles.forEach(async (file) => {
|
|
658
657
|
file = file.replace(/\\/g, '/');
|
|
658
|
+
if(file.includes('index.html') && fs.existsSync(process.cwd() + "/dist/index.html")){
|
|
659
|
+
return
|
|
660
|
+
}
|
|
659
661
|
|
|
660
662
|
let name = file.split( '/node_modules/vaderjs/runtime/')[1]
|
|
661
663
|
let data = await reader(file)
|