chore: update remix to v2

This commit is contained in:
Andrea
2023-10-21 19:30:32 +02:00
parent 8222a4dfb2
commit 8a9fd697b5
15 changed files with 2367 additions and 5821 deletions

View File

@@ -1,18 +1,13 @@
{
"include": [
"remix.env.d.ts",
"**/*.ts",
"**/*.tsx",
"app/routes/blog.$name.tsx"
],
"include": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"compilerOptions": {
"lib": ["DOM", "DOM.Iterable", "ES2019"],
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"target": "ES2019",
"target": "ES2022",
"strict": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
@@ -20,7 +15,6 @@
"paths": {
"~/*": ["./app/*"]
},
"module": "ES2022",
// Remix takes care of building everything in `remix build`.
"noEmit": true