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.
- package/dist/translator/index.js +2 -1
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
|
@@ -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 (
|
|
2347
|
+
if (programExtra.isInteractive || programExtra.needsCompat) {
|
|
2347
2348
|
state.init = true;
|
|
2348
2349
|
}
|
|
2349
2350
|
for (const tag of analyzedTags || []) {
|