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

Not static path for middleware #325

Closed
bsideup opened this issue Nov 24, 2015 · 1 comment
Closed

Not static path for middleware #325

bsideup opened this issue Nov 24, 2015 · 1 comment
Labels

Comments

@bsideup
Copy link

bsideup commented Nov 24, 2015

Hi!

We use cache busting, so after deployment path to JS file will looks like this:
/static/ab13c758e1f/app.js

Is it possible to configure WDS + middleware to proxy such URLs for local development?
Currently we see only one way of doing such things - check latest path to the resource and put it to the publicPath property, but this is flaky as hell and can't be comited :)

Thanks!

@SpaceK33z
Copy link
Member

Why would you need this cache busting in development? For development you could just use a 'fixed' string instead of a dynamic path.

Also see #438 for some information about how to handle this.

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

No branches or pull requests

3 participants