Skip to content

Commit

Permalink
Add styled-jsx to babel plugins (#970)
Browse files Browse the repository at this point in the history
* Resolve all modules through module resolver

* Add styled-jsx back
  • Loading branch information
timneutkens authored and arunoda committed Feb 3, 2017
1 parent 57e9a5e commit 3143e0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/build/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
}
]
Expand Down

0 comments on commit 3143e0d

Please sign in to comment.