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:
parent
ef2995d1fa
commit
b04923775b
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue