Commit 409cf71a authored by Shu Ding's avatar Shu Ding Committed by Tim Neutkens

Move styled-jsx to external modules (#5403)

parent 8ac45617
...@@ -32,7 +32,7 @@ function externalsConfig (dir, isServer) { ...@@ -32,7 +32,7 @@ function externalsConfig (dir, isServer) {
return externals return externals
} }
const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status'] const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status', 'styled-jsx']
externals.push((context, request, callback) => { externals.push((context, request, callback) => {
if (notExternalModules.indexOf(request) !== -1) { if (notExternalModules.indexOf(request) !== -1) {
......
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