@marko/translator-default 5.32.6 → 5.32.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,14 @@ const kEntryState = Symbol();var _default =
31
31
  visitedFiles.add(resolved);
32
32
  const file = (0, _babelUtils.loadFileForImport)(entryFile, resolved);
33
33
  if (file) {
34
- entryBuilder.visit(file, entryFile, visitChild);
34
+ entryBuilder.visit(file, entryFile, (id) =>
35
+ visitChild(
36
+ (0, _babelUtils.resolveRelativePath)(
37
+ entryFile,
38
+ _path.default.join(file.opts.filename, "..", id)
39
+ )
40
+ )
41
+ );
35
42
  }
36
43
  }
37
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/translator-default",
3
- "version": "5.32.6",
3
+ "version": "5.32.7",
4
4
  "description": "Translates Marko templates to the default Marko runtime.",
5
5
  "keywords": [
6
6
  "babel",
@@ -34,8 +34,8 @@
34
34
  "self-closing-tags": "^1.0.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@marko/compiler": "^5.35.5",
38
- "marko": "^5.33.6"
37
+ "@marko/compiler": "^5.35.6",
38
+ "marko": "^5.33.7"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@marko/compiler": "^5.16.1",