@marko/translator-default 5.31.3 → 5.31.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ function getComponentFiles({ hub: { file } }) {
15
15
  const dirname = _path.default.dirname(filename);
16
16
  const dirFiles = fs.readdirSync(dirname).sort();
17
17
  const base = getBase(filename);
18
- const isEntry = "index" === base;
18
+ const isEntry = "index" === base || "template" === base;
19
19
  const fileMatch = `(${(0, _escapeStringRegexp.default)(base)}\\.${isEntry ? "|" : ""})`;
20
20
  const styleMatch = new RegExp(`^${fileMatch}style\\.\\w+$`);
21
21
  const componentMatch = new RegExp(`^${fileMatch}component\\.\\w+$`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marko/translator-default",
3
- "version": "5.31.3",
3
+ "version": "5.31.4",
4
4
  "description": "Translates Marko templates to the default Marko runtime.",
5
5
  "keywords": [
6
6
  "babel",
@@ -35,8 +35,8 @@
35
35
  "self-closing-tags": "^1.0.1"
36
36
  },
37
37
  "devDependencies": {
38
- "@marko/compiler": "^5.33.2",
39
- "marko": "^5.31.10"
38
+ "@marko/compiler": "^5.33.4",
39
+ "marko": "^5.31.14"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "@marko/compiler": "^5.16.1",