-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
fix(plugin-webpack): adjust publicPath in renderer only #1035
Conversation
This reverts improper PR#1021 and re-implements the changes I have in the JS (compiled) code at the right place.
Hmmm. I tested this locally, and the CSS file reference doesn't seem to work. Although that may have never worked when packaged with the current config. |
@malept not sure this might help, but in order to get |
Do you mind making the change that made it work for you in this PR? |
@malept first attempt This is kind of a mixed bag because it plays both in webpack-plugin and in the webpack template and I have no clue how to properly test all this end-to-end. I'm really guessing at this point. |
Hmm FWIW I'm also using |
Ah, I see what I was doing wrong. I forgot to add it to Yeah, we can put that in a different PR. I'll clean this up and merge it. |
The working combination for CSS is |
The CSS-related changes are now in #1036 . |
This reverts improper PR#1021 and re-implements the changes I have in the JS (compiled) code at the right place.
Summarize your changes:
As pointed out by @malept in #1021 (comment) I had some trouble when trying to map my changes in JavaScript back to TypeScript. This attempts to do the change at the proper location (i.e. inside
getRendererConfig
).Fixes #1034.