ts-arc 1.1.26 → 1.1.28

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.
Files changed (2) hide show
  1. package/dist/loader.js +3 -0
  2. package/package.json +1 -1
package/dist/loader.js CHANGED
@@ -110,6 +110,9 @@ function resolveLocalSync(baseDir, relativePath) {
110
110
  const candidates = [
111
111
  fullPath,
112
112
  fullPath + ".ts",
113
+ fullPath + ".mjs",
114
+ fullPath + ".cjs",
115
+ fullPath + ".js",
113
116
  fullPath + ".tsx",
114
117
  path.join(fullPath, "index.ts"),
115
118
  path.join(fullPath, "index.tsx"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-arc",
3
- "version": "1.1.26",
3
+ "version": "1.1.28",
4
4
  "type": "module",
5
5
  "description": "A simple typescript runtime.",
6
6
  "main": "dist/bin.js",