Skip to content

Commit fdf273c

Browse files
authored
fix(runtime): fix runtime build
1 parent a05d04d commit fdf273c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

Diff for: .changeset/ten-avocados-cross.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@ddadaal/next-typed-api-routes-runtime": patch
3+
---
4+
5+
fix runtime build

Diff for: packages/runtime/rollup.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default defineConfig([
1212
format: "cjs",
1313
},
1414
plugins: [ts({
15-
tsconfig: "./tsconfig.json",
15+
tsconfig: "./tsconfig.build.json",
1616
}), terser()],
1717
},
1818
{
@@ -22,7 +22,7 @@ export default defineConfig([
2222
format: "cjs",
2323
},
2424
plugins: [ts({
25-
tsconfig: "./tsconfig.json",
25+
tsconfig: "./tsconfig.build.json",
2626
// built by client
2727
declaration: false,
2828
}), commonjs(), json(), terser()],

Diff for: packages/runtime/tsconfig.build.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"include": [
4+
"src/**/*.ts"
5+
]
6+
}

0 commit comments

Comments
 (0)