Skip to content

Commit 84fb460

Browse files
committed
rsc
1 parent 482dc69 commit 84fb460

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

packages/rsc/src/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file provides the AI context to all AI Actions via AsyncLocalStorage.
22

33
import * as React from 'react';
4-
import { InternalAIProvider } from './rsc-shared.mjs';
4+
import { InternalAIProvider } from './rsc-shared';
55
import {
66
withAIState,
77
getAIStateDeltaPromise,

packages/rsc/src/rsc-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ export {
55
useAIState,
66
useActions,
77
useSyncUIState,
8-
} from './rsc-shared.mjs';
8+
} from './rsc-shared';
File renamed without changes.

packages/rsc/tsup.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import { defineConfig } from 'tsup';
33
export default defineConfig([
44
// RSC APIs - shared client
55
{
6-
// Entry is `.mts` as the entrypoints that import it will be ESM so it needs exact imports that includes the `.mjs` extension.
7-
entry: ['src/rsc-shared.mts'],
6+
entry: ['src/rsc-shared.ts'],
87
outDir: 'dist',
98
format: ['esm'],
109
external: ['react', 'zod'],

0 commit comments

Comments
 (0)