Open dmitry opened 9 years ago
How bizarre. @halt-hammerzeit?
@dmitry So, why did you create an issue in this repo? You should create it in Webpack repo because I don't see how can it possibly relate to react-redux-universal-hot-example
https://github.com/webpack/webpack
First of all I found an issue with the react-redux-universal-hot-example
, then I've digged deeper to webpack, now I think it's related to the different absolute paths, because once I'm changing the root path of the project path from a
to b
it generates different hash. Basically, now I'm out of ideas what is causing that.
Can we leave this issue open, could be someone faced with the same problem.
@erikras FYI https://github.com/webpack/webpack/issues/1479
Once I run npm run build on different computers I'm getting different hash, because source map loader is generating js files depending on hash name used for source map files:
Lets disable source map using setting
devtool
to null (devtool: null
):Now you can see the files are all the same, but the hash generated differently on different computers.
Because we have multiple application servers which are response through load-balancer, and we are not sending our assets to any CDN, we are getting into a trouble, because assets names are not the same.
[hash]
?