Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Problem when using with Gatsbyjs/Webpack #2

Closed
laubstein opened this issue Sep 26, 2018 · 2 comments
Closed

Problem when using with Gatsbyjs/Webpack #2

laubstein opened this issue Sep 26, 2018 · 2 comments

Comments

@laubstein
Copy link

I'm trying to use hash-routes with Gatsbyjs. While developying, I get no errors, when compiling I receive a WebpackError: ReferenceError: window is not defined.

This is a know problem.

@will-stone
Copy link
Owner

I was thinking, I'm not sure it's sensible to use this package with Gatsby as all the routes are generated for you by Gatsby; what benefit does hash routing bring you with Gatsby?

@will-stone
Copy link
Owner

Project now deprecated: https://github.com/will-stone/hash-source#deprecated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants