jiek 0.4.7-alpha.14 → 0.4.7-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
package/bin/jiek.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node -m
2
2
  import { existsSync } from 'node:fs'
3
3
  import { resolve, dirname } from 'node:path'
4
4
  import { createRequire } from 'node:module'
@@ -7,7 +7,7 @@ const __dirname = dirname(import.meta.url.replace('file://', ''))
7
7
  if (existsSync(resolve(__dirname, '../.jiek-dev-tag'))) {
8
8
  const require = createRequire(import.meta.url)
9
9
  require('esbuild-register')
10
- require('../src/cli.ts')
10
+ require('../src/cli')
11
11
  } else {
12
12
  import('jiek/cli')
13
13
  }