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
|
||||||
.react-router/
|
.react-router/
|
||||||
/build/
|
build/
|
||||||
|
|
||||||
|
|
||||||
# misc
|
# 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;
|
export default [index("routes/home.tsx")] satisfies RouteConfig;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import type { Route } from "./+types/home";
|
|
||||||
import { Welcome } from "../welcome/welcome";
|
import { Welcome } from "../welcome/welcome";
|
||||||
|
import type { Route } from "./+types/home";
|
||||||
|
|
||||||
export function meta(_args: Route.MetaArgs) {
|
export function meta(_args: Route.MetaArgs) {
|
||||||
return [
|
return [
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
"build": "react-router build",
|
"build": "react-router build",
|
||||||
"dev": "react-router dev",
|
"dev": "react-router dev",
|
||||||
"start": "react-router-serve ./build/server/index.js",
|
"start": "react-router-serve ./build/server/index.js",
|
||||||
"typecheck": "react-router typegen && tsc",
|
"typecheck": "react-router typegen && tsc -p tsconfig.cssmodulehack.json",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,8 @@
|
||||||
"files": [],
|
"files": [],
|
||||||
"extends": "../../tsconfig.base.json",
|
"extends": "../../tsconfig.base.json",
|
||||||
"include": [
|
"include": [
|
||||||
"**/*",
|
"app/**/*",
|
||||||
|
"*.ts",
|
||||||
"**/.server/**/*",
|
"**/.server/**/*",
|
||||||
"**/.client/**/*",
|
"**/.client/**/*",
|
||||||
".react-router/types/**/*"
|
".react-router/types/**/*"
|
||||||
|
|
@ -12,7 +13,7 @@
|
||||||
{
|
{
|
||||||
"name": "typescript-plugin-css-modules",
|
"name": "typescript-plugin-css-modules",
|
||||||
"options": {
|
"options": {
|
||||||
"classnameTransform": "camelCaseOnly",
|
"classnameTransform": "camelCaseOnly"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue