Fix server crashes from @babel/runtime not being available to production bundle during Vue SSR render
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
independencies
, whereas you'd have@babel/plugin-transform-runtime
indevDependencies
.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