-
Notifications
You must be signed in to change notification settings - Fork 23
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
Router override is not bundled by webpack #5
Comments
It seems it has to do with webpack prefering I'm not sure if this has something to do with gatsbyjs/gatsby#15270 |
Closing, as I can't reproduce it anymore... If the issue re-appears, I'll re-open it. |
I think I know why this is happening... |
@wardpeet, any chance to look into this? |
Hey sorry, i'll try to get to it somewhere this week, it has been a few busy weeks and I went on vacation. |
update on why the page goes blank: |
Sorry for my absence, I haven't read through the issue yet but I'll make sure that it works again this week, I hope to get a new release out tomorrow or the day after. |
Temporarily, while #9 and #11 get merged I've published a fork of this plug-in with both PRs merged as https://www.npmjs.com/package/@xavivars/gatsby-plugin-static-site |
For some reason, when using the plugin, the override of
@reach/router
is not getting bundled by webpack.This repo gatsby starter + plugin
https://github.com/xavivars/gatsbybug
and it's deployed here and doesn't work:
http://gatsby-bug.s3-website-eu-west-1.amazonaws.com/notworking/page-2/
(you will see a redirect happening)
I can't understand why it works in here
http://gatsby-bug.s3-website-eu-west-1.amazonaws.com/gatsby/page-3/
(source code for this is coming from https://github.com/wardpeet/gatsby-demos/tree/static-asset-prefix )
The text was updated successfully, but these errors were encountered: