-
Notifications
You must be signed in to change notification settings - Fork 6
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
error when filename contains [hash], [chunkhash] or [contenthash] #5
Comments
Thanks for reporting this issue, could you clarify which function is accessed that doesn't exist? Full stacktrace would be helpful. |
@joeldenning yes, of course I put together a sample repo here https://github.com/nilzona/sspa-react that could be used to reproduce the issue |
Thanks for providing the demonstration repo, I've put together a fix in #6 and released it in https://github.com/single-spa/single-spa-css/releases/tag/v1.1.2 |
Is this actually fixed? In my compiled code I see: d.miniCssF = function(t) {
return "main.af8b913bd3008a4bad58.css"
}, d.cssAssetFileName = function(t) {
return (179 === t ? "main" : t) + "." + {
179: "af8b913bd3008a4bad58"
} [t] + ".css" I use the same config as nilzona above. But the developer tools of the browsers shows me (main.undefined.css): |
If there's still a bug, please open a new issue with a demonstration. |
Created #11. |
if the webpack config is the following:
the webpacked code tries to request a file where it seems [contenthash] has resolved to undefined
The text was updated successfully, but these errors were encountered: