chocola 1.2.4 → 1.2.6
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/compiler/index.js +1 -1
- package/package.json +1 -2
package/compiler/index.js
CHANGED
|
@@ -128,7 +128,7 @@ async function processAssets(doc, rootDir, srcDir, outDirPath) {
|
|
|
128
128
|
* >} config
|
|
129
129
|
*/
|
|
130
130
|
export default async function runtime(rootDir, buildConfig) {
|
|
131
|
-
const isHotReload = buildConfig
|
|
131
|
+
const isHotReload = buildConfig?.isHotReload || null;
|
|
132
132
|
!isHotReload && logBanner();
|
|
133
133
|
|
|
134
134
|
// Load Configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "chocola",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Chocola pipeline for web apps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web",
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"chalk": "^5.6.2",
|
|
23
|
-
"chocola": "^1.1.20",
|
|
24
23
|
"js-beautify": "^1.15.4",
|
|
25
24
|
"jsdom": "^27.4.0"
|
|
26
25
|
},
|