-
Notifications
You must be signed in to change notification settings - Fork 37
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
incompatibility with html-webpack-inline-source-plugin #44
Comments
Which version of the plugins are you using? Note that |
Of course :)
|
@aulisius do you have any idea what causes it? because for now I've hardcoded the react min bundle in my HTML and it's such a bad practice :\ |
@id0Sch Can you confirm me that everything is working fine, without I'm asking because |
Everything is working fine without dynamic-cdn.
I will also check with online-source for open issues
Thanks!
…On Thu, May 10, 2018 at 11:58 Thomas Sileghem ***@***.***> wrote:
@id0Sch <https://github.com/id0Sch> Can you confirm me that everything is
working fine, without dynamic-cdn-webpack-plugin
I'm asking because html-webpack-inline-source-plugin doesn't have test
running ***@***.*** and ***@***.*** so it might be a bug on there
side
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#44 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFl9RCGHGzJnBO7O9jXYSPPbS4GxOAPwks5txAE9gaJpZM4T02Dx>
.
|
I can't see any issue in inline-source that could cause this issue. |
Bit busy with vacation. Will try to get to this tmrw. I think it might be something to do with ordering of plugins and in what order they access the |
Finally got around to creating a repro https://github.com/aulisius/dynamic-cdn-issue-44-repro/blob/master/webpack.config.js . Really sorry for the delay @id0Sch . Will get working soon. |
@aulisius It's fine :) |
@id0Sch Sorry for the delay, I don't think there is a real solution here as if you try to in-line the JS, you are loosing the benefit of this plugin https://github.com/DustinJackson/html-webpack-inline-source-plugin#basic-usage has a I wonder if we can make the error more explicit |
Any progress or advice to solve this issue? I met the same problem. |
I have the same issue. I want big dependencies to be fetched from CDN while keeping my code inline. The key is to modify the Here is how I fixed it:
@njzjz I hope this is helpful. |
Hi,
I'm trying to add dynamic cdn support for my repo but I encounter this error:
Everything was working fine before I added dynamic-cdn and this is my plugins section (ignore the dynamic entry suport)
I saw in the code that this plugin applies the HTMLwbepack plugin and I suspect that this causes the inline-source-plugin to not work.
versions
It would be great to be able to use both plugins,
Thanks for the hard workd on this project!
The text was updated successfully, but these errors were encountered: