Skip to content

Handling of mixed .server and .client files inside a single index.ts file #9250

Discussion options

You must be logged in to vote

I decided to go with /sever/ subfolders and having two index files.

So I did end up with imports along the lines of from "@auth" and from "@auth/server" in the same file but Remix was able to prune everything correctly in that case

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NeoParadox
Comment options

@RobertGemmaJr
Comment options

Answer selected by RobertGemmaJr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants