Fix bun run build
This commit is contained in:
parent
b4f7769375
commit
7462e56d74
5 changed files with 7 additions and 6 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -10,7 +10,7 @@ node_modules
|
|||
|
||||
# React Router
|
||||
.react-router/
|
||||
/build/
|
||||
build/
|
||||
|
||||
|
||||
# misc
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
import { type RouteConfig, index } from "@react-router/dev/routes";
|
||||
import { index, type RouteConfig } from "@react-router/dev/routes";
|
||||
|
||||
export default [index("routes/home.tsx")] satisfies RouteConfig;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import type { Route } from "./+types/home";
|
||||
import { Welcome } from "../welcome/welcome";
|
||||
import type { Route } from "./+types/home";
|
||||
|
||||
export function meta(_args: Route.MetaArgs) {
|
||||
return [
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
"build": "react-router build",
|
||||
"dev": "react-router dev",
|
||||
"start": "react-router-serve ./build/server/index.js",
|
||||
"typecheck": "react-router typegen && tsc",
|
||||
"typecheck": "react-router typegen && tsc -p tsconfig.cssmodulehack.json",
|
||||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
"files": [],
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"include": [
|
||||
"**/*",
|
||||
"app/**/*",
|
||||
"*.ts",
|
||||
"**/.server/**/*",
|
||||
"**/.client/**/*",
|
||||
".react-router/types/**/*"
|
||||
|
|
@ -12,7 +13,7 @@
|
|||
{
|
||||
"name": "typescript-plugin-css-modules",
|
||||
"options": {
|
||||
"classnameTransform": "camelCaseOnly",
|
||||
"classnameTransform": "camelCaseOnly"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue