1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Add string-hash to compilation for styled-jsx

This commit is contained in:
Tim Neutkens 2018-11-04 03:26:52 +01:00
parent ef2995d1fa
commit b04923775b

View file

@ -31,7 +31,7 @@ function externalsConfig (dir, isServer) {
return externals
}
const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status']
const notExternalModules = ['next/app', 'next/document', 'next/error', 'http-status', 'string-hash']
externals.push((context, request, callback) => {
if (notExternalModules.indexOf(request) !== -1) {