Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Not an issue but confused.  #10

@MarcZenn

Description

@MarcZenn

Hi,

I'm very new to SSR with webpack and I'm having issues getting webpack to work when rendering server-side (currently seeing "EventSource's response has a MIME type ("text/html") that is not "text/event-stream". Aborting the connection" in the console.). I'm looking at your webpack.config and I see that you're exporting two separate configs, one for the client and for SSR.

When running this project how do you dictate which one to use when? For example if you're in production how do you use the server-side-rendering config and not the browser config from webpack.config

Apologies if I'm just not grasping something here I should know beforehand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions