Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user I would like an example of syncing of bundle output between client + server #2

Open
thescientist13 opened this issue Sep 5, 2018 · 0 comments
Labels
enhancement New feature or request example good first issue Good for newcomers
Milestone

Comments

@thescientist13
Copy link
Member

thescientist13 commented Sep 5, 2018

Currently the initial JavaScript payload is coming from bundle.js but the path is hardcoded in the HTML of server.js.

<body>
    ...

    <script src="/static/bundle.js"></script>
</body>

It would be nice if the bundle output from webpack in dist (e.g. index.html) could be leveraged to enable things like paths with [chunkhash] and being able to use HtmlWebpackPlugin within server.js to update it automatically.

I think if #1 is done, this would get solved at the same time.

@thescientist13 thescientist13 added the enhancement New feature or request label Sep 5, 2018
@thescientist13 thescientist13 added this to the POC milestone Sep 5, 2018
@thescientist13 thescientist13 self-assigned this Sep 5, 2018
@thescientist13 thescientist13 changed the title API for syncing state schema for client / server As a user I would like an API for syncing state schema between client + server Sep 5, 2018
@thescientist13 thescientist13 changed the title As a user I would like an API for syncing state schema between client + server As a user I would like syncing of build output between client + server Sep 9, 2018
@thescientist13 thescientist13 removed the API label Sep 9, 2018
@thescientist13 thescientist13 removed this from the POC milestone Sep 9, 2018
@thescientist13 thescientist13 changed the title As a user I would like syncing of build output between client + server As a user I would like syncing of bundle output between client + server Sep 9, 2018
@thescientist13 thescientist13 added this to the MVP milestone Sep 9, 2018
@thescientist13 thescientist13 added the good first issue Good for newcomers label Sep 9, 2018
@thescientist13 thescientist13 changed the title As a user I would like syncing of bundle output between client + server As a user I would like an example of syncing of bundle output between client + server Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request example good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant