ts-arc 1.1.20 → 1.1.21

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 -1
  2. package/package.json +1 -1
package/dist/loader.js CHANGED
@@ -4,7 +4,9 @@
4
4
  import * as fs from "fs";
5
5
  import * as path from "path";
6
6
  import * as url from "url";
7
- import { transformSync } from "esbuild";
7
+ import { createRequire } from "module";
8
+ var require2 = createRequire(import.meta.url);
9
+ var { transformSync } = require2("esbuild");
8
10
  var config = {
9
11
  baseUrl: null,
10
12
  paths: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-arc",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "type": "module",
5
5
  "description": "A simple typescript runtime.",
6
6
  "main": "dist/bin.js",