Skip to content

Custom server options for adapter-node #8794

@0324bence

Description

@0324bence

Describe the problem

Currently, when using the node apater you are stuck with one type of server that is automatically created for you when building. This however is not a great solution for many people.
There are hosts that build your application on the server, and you don't have the ability to edit the files in the build directory.

I currently want to implement a socket.io server to start alongside sveltekit, but I haven not found any way to do this currently.

Describe the proposed solution

The best was to do this in my opinion would be to use a process like mankins did in his own adapter.

Alternatives considered

I have tried using the adapter mentioned above, but it only allows 1 file to be transferred, so I couldn't copy the handler.js of the default node apater to make sveltekit actually work.

Importance

would make my life easier

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions