Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(vite): error messages when .server files are referenced by client
Browse files Browse the repository at this point in the history
pcattori committed Dec 12, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 825a907 commit 906f138
Showing 5 changed files with 290 additions and 176 deletions.
4 changes: 3 additions & 1 deletion integration/helpers/vite-template/tsconfig.json
Original file line number Diff line number Diff line change
@@ -14,7 +14,9 @@
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
"~/*": ["./app/*"]
"~/*": ["./app/*"],
"#dir/*": ["./app/.server/*"],
"#file": ["./app/utils.server"]
},
"noEmit": true
}
2 changes: 1 addition & 1 deletion integration/package.json
Original file line number Diff line number Diff line change
@@ -35,6 +35,6 @@
"tailwindcss": "^3.3.0",
"type-fest": "^4.0.0",
"typescript": "^5.1.0",
"vite-tsconfig-paths": "^4.2.1"
"vite-tsconfig-paths": "^4.2.2"
}
}
Loading

0 comments on commit 906f138

Please sign in to comment.