You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That config leads to the Conflict: Multiple chunks emit assets to the same filename ssr-bundle.js found in a few other issues.
However, by removing the {{prerender}} part from the html template, npx webpack command completes successfully. The only problem is that inside the three generated html files, they all have [object Object] appearing right after the <div id="app"></div> and before the closing </body></html>.
For the HtmlWebpackPlugins template value, I made sure the include the entry=${entry[key]} part as suggested by the comment here, which must have worked for some people given the presence of two rocket emojis at the time of me writing this. Why might that not have worked here for me?
I uploaded the full example project I'm using to this repo. And these are the dependencies in use:
My
/src/template.html
file looks like this:And this is my
webpack.config.js
:That config leads to the
Conflict: Multiple chunks emit assets to the same filename ssr-bundle.js
found in a few other issues.However, by removing the
{{prerender}}
part from the html template,npx webpack
command completes successfully. The only problem is that inside the three generated html files, they all have[object Object]
appearing right after the<div id="app"></div>
and before the closing</body></html>
.For the
HtmlWebpackPlugin
s template value, I made sure the include theentry=${entry[key]}
part as suggested by the comment here, which must have worked for some people given the presence of two rocket emojis at the time of me writing this. Why might that not have worked here for me?I uploaded the full example project I'm using to this repo. And these are the dependencies in use:
The text was updated successfully, but these errors were encountered: