diff --git a/server/build/webpack.js b/server/build/webpack.js index 629303aff992b..044db528df123 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') } } ]