Skip to content

Commit 6a3ea6a

Browse files
committed
fix build
1 parent 1652e61 commit 6a3ea6a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/state/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
"node": "./dist/index.js",
4444
"default": "./dist/index.js"
4545
},
46-
"./vite": {
47-
"import": "./dist/vite/index.js",
48-
"types": "./dist/vite/index.d.mts"
46+
"./compiler": {
47+
"import": "./dist/compiler/index.js",
48+
"types": "./dist/compiler/index.d.mts"
4949
},
5050
"./asyncAction": {
5151
"import": "./dist/plugins/asyncAction.js",

packages/state/tsup.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default defineConfig((options) => {
2626
splitting: true,
2727
},
2828
{
29-
entry: ['./vite/index.ts'],
29+
entry: ['./compiler/index.ts'],
3030
external: ['@babel/types', '@babel/core'],
3131
outDir: './dist/vite',
3232
format: 'esm',

0 commit comments

Comments
 (0)