Skip to content

Fix server crashes from @babel/runtime not being available to production bundle during Vue SSR render

Eric Eastwood requested to merge 2347-fix-babel-runtime-crashing-server into develop

Fix server crashes from @babel/runtime not being available to production bundle during Vue SSR render

@babel/plugin-transform-runtime is a plugin for inserting imports that reference @babel/runtime. This means that @babel/runtime is required by the actual published code, and you should have @babel/runtime in dependencies, whereas you'd have @babel/plugin-transform-runtime in devDependencies.

https://github.com/babel/babel-loader/issues/39#issuecomment-412637770

Related to the changes from https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1635

Closes #2347 (closed)

Edited by Eric Eastwood

Merge request reports