juxscript 1.1.123 → 1.1.124
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 +9 -7
- 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
|
|
521
|
-
<script type="module" src="./bundle.js"></script>
|
|
520
|
+
<title>JUX Application</title>
|
|
522
521
|
</head>
|
|
523
522
|
<body>
|
|
524
523
|
<div id="app"></div>
|
|
524
|
+
<script src="/bundle.js"></script>
|
|
525
|
+
<script src="/entry.js"></script>
|
|
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
|
/**
|