diff --git a/server/build/webpack.js b/server/build/webpack.js index 629303af..044db528 100644 --- a/server/build/webpack.js +++ b/server/build/webpack.js @@ -179,7 +179,8 @@ export default async function createCompiler (dir, { dev = false, quiet = false 'next/css': require.resolve('../../lib/css'), 'next/head': require.resolve('../../lib/head'), 'next/document': require.resolve('../../server/document'), - 'next/router': require.resolve('../../lib/router') + 'next/router': require.resolve('../../lib/router'), + 'styled-jsx/style': require.resolve('styled-jsx/style') } } ]