create-nextblock 0.12.8 → 0.12.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -92,6 +92,12 @@ const nextConfig = {
|
|
|
92
92
|
...(isDockerStandalone
|
|
93
93
|
? { output: 'standalone', outputFileTracingRoot: path.join(__dirname, '../../') }
|
|
94
94
|
: {}),
|
|
95
|
+
// Dev-only: origins the dev server trusts for internal requests (HMR websocket,
|
|
96
|
+
// dev runtime). Without this, browsing via a non-default host like 127.0.0.1 or a
|
|
97
|
+
// *.localhost subdomain makes Next 16 reject the ws://.../_next/webpack-hmr handshake,
|
|
98
|
+
// which stalls client hydration (the header auth/search/cart controls never mount).
|
|
99
|
+
// Inert in production. Add any extra dev hosts you browse from here.
|
|
100
|
+
allowedDevOrigins: ['localhost', '127.0.0.1'],
|
|
95
101
|
experimental: {
|
|
96
102
|
optimizePackageImports: ['@nextblock-cms/ui', '@nextblock-cms/utils'],
|
|
97
103
|
},
|