juxscript 1.1.123 → 1.1.125
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/dom-structure-map.json +1 -1
- package/machinery/compiler3.js +8 -6
- package/package.json +1 -1
package/dom-structure-map.json
CHANGED
package/machinery/compiler3.js
CHANGED
|
@@ -517,20 +517,22 @@ navigate(location.pathname);
|
|
|
517
517
|
<head>
|
|
518
518
|
<meta charset="UTF-8">
|
|
519
519
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
520
|
-
<title>JUX
|
|
520
|
+
<title>JUX Application</title>
|
|
521
521
|
<script type="module" src="./bundle.js"></script>
|
|
522
|
+
<script src="/entry.js"></script>
|
|
522
523
|
</head>
|
|
523
524
|
<body>
|
|
524
525
|
<div id="app"></div>
|
|
525
526
|
</body>
|
|
526
527
|
</html>`;
|
|
527
|
-
fs.writeFileSync(path.join(this.distDir, 'index.html'), html);
|
|
528
528
|
|
|
529
|
-
fs.
|
|
530
|
-
|
|
529
|
+
fs.writeFileSync(
|
|
530
|
+
path.join(this.config.distDir, 'index.html'),
|
|
531
|
+
html,
|
|
532
|
+
'utf8'
|
|
533
|
+
);
|
|
531
534
|
|
|
532
|
-
console.log(
|
|
533
|
-
return { success: true, errors: [], warnings: validation.warnings };
|
|
535
|
+
console.log(' ✅ Generated index.html');
|
|
534
536
|
}
|
|
535
537
|
|
|
536
538
|
/**
|