Unverified Commit 2e14b449 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Bundle @babel/runtime into server bundle (#5619)

parent a82a2d8d
......@@ -48,6 +48,10 @@ function externalsConfig (dir, isServer) {
return callback()
}
if (res.match(/node_modules[/\\]@babel[/\\]runtime[/\\]/)) {
return callback()
}
// Webpack itself has to be compiled because it doesn't always use module relative paths
if (res.match(/node_modules[/\\]webpack/) || res.match(/node_modules[/\\]css-loader/)) {
return callback()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment