marko 6.0.123 → 6.0.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.
@@ -2339,11 +2339,12 @@ var entry_builder_default = {
2339
2339
  imports: [],
2340
2340
  init: false
2341
2341
  };
2342
+ const programExtra = file.path.node.extra;
2342
2343
  const { analyzedTags } = file.metadata.marko;
2343
2344
  state.imports.push(
2344
2345
  (0, import_babel_utils12.resolveRelativePath)(entryFile, file.opts.filename)
2345
2346
  );
2346
- if (file.path.node.extra.isInteractive) {
2347
+ if (programExtra.isInteractive || programExtra.needsCompat) {
2347
2348
  state.init = true;
2348
2349
  }
2349
2350
  for (const tag of analyzedTags || []) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.123",
3
+ "version": "6.0.124",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",