-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
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
compatibility problem of SSR with ES5 #3867
Comments
if needed, i could supply my test case
|
@yyx990803 why was this closed |
@jacekkarczmarczyk I'm using the new node 13 Import/Exports. Could this have anything to do with it? |
This only occurs when I am adding or removing a new import to a vue file, restarting the server fixes the issue. Not sure why this occurs |
No idea, create a minimal reproduction and open a new issue or ask in discord/forum/etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bundle rendering doesn't work if exports a function using
module.exports = function(context)..
instead ofexport default context => ...
in server entry point . it throws an error:it looks like a compatibility problem of bundle rendering with ES5.
I changed the codes in node_modules/vue-server-renderer/build.js to the following:
then it works.
The text was updated successfully, but these errors were encountered: