marko 5.38.36 → 5.38.37

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.
@@ -112,6 +112,11 @@ const entryBuilder = exports.entryBuilder = {
112
112
 
113
113
  const { watchFiles, imports, lassoDeps, body } = state;
114
114
 
115
+ if (fileMeta.implicitSplitComponent) {
116
+ state.hasComponents = true;
117
+ return;
118
+ }
119
+
115
120
  if (fileMeta.component) {
116
121
  state.hasComponents = true;
117
122
 
@@ -175,7 +180,7 @@ const entryBuilder = exports.entryBuilder = {
175
180
  }
176
181
  }
177
182
 
178
- if (fileMeta.component) {
183
+ if (fileMeta.component && !fileMeta.implicitSplitComponent) {
179
184
  // Split component
180
185
  const splitComponentId = _compiler.types.identifier(
181
186
  `component_${state.splitComponentIndex++}`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "5.38.36",
3
+ "version": "5.38.37",
4
4
  "description": "UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.",
5
5
  "keywords": [
6
6
  "front-end",
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "dependencies": {
72
72
  "@marko/compiler": "^5.39.62",
73
- "@marko/runtime-tags": "^6.0.164",
73
+ "@marko/runtime-tags": "^6.0.167",
74
74
  "app-module-path": "^2.2.0",
75
75
  "argly": "^1.2.0",
76
76
  "browser-refresh-client": "1.1.4",
@@ -112,6 +112,11 @@ export const entryBuilder = {
112
112
 
113
113
  const { watchFiles, imports, lassoDeps, body } = state;
114
114
 
115
+ if (fileMeta.implicitSplitComponent) {
116
+ state.hasComponents = true;
117
+ return;
118
+ }
119
+
115
120
  if (fileMeta.component) {
116
121
  state.hasComponents = true;
117
122
 
@@ -175,7 +180,7 @@ export const entryBuilder = {
175
180
  }
176
181
  }
177
182
 
178
- if (fileMeta.component) {
183
+ if (fileMeta.component && !fileMeta.implicitSplitComponent) {
179
184
  // Split component
180
185
  const splitComponentId = t.identifier(
181
186
  `component_${state.splitComponentIndex++}`,