Skip to content

Commit e00f567

Browse files
authored
fix(cli): Import from api-server using .js (#68)
1 parent 504d335 commit e00f567

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/api-server/src/bin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
description as apiDescription,
1616
builder as apiBuilder,
1717
} from './apiCLIConfig'
18-
import { handler as apiHandler } from './apiCLIConfigHandler'
18+
import { handler as apiHandler } from './apiCLIConfigHandler.js'
1919
import {
2020
description as bothDescription,
2121
builder as bothBuilder,

packages/cli/src/commands/serveBothHandler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import path from 'path'
33
import concurrently from 'concurrently'
44
import execa from 'execa'
55

6-
import { handler as apiServerHandler } from '@redmix/api-server/dist/apiCLIConfigHandler'
6+
import { handler as apiServerHandler } from '@redmix/api-server/dist/apiCLIConfigHandler.js'
77
import {
88
getAPIHost,
99
getAPIPort,

0 commit comments

Comments
 (0)