react-code-dataset / next.js /test /development /basic /hmr /hot-module-reload-yes-base-path-no-asset-prefix.test.ts
Download next.js/test/development/basic/hmr/hot-module-reload-yes-base-path-no-asset-prefix.test.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 272 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/hmr/hot-module-reload-yes-base-path-no-asset-prefix.test.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/basic/hmr/hot-module-reload-yes-base-path-no-asset-prefix.test.ts
-
curl -L -o hot-module-reload-yes-base-path-no-asset-prefix.test.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/basic/hmr/hot-module-reload-yes-base-path-no-asset-prefix.test.ts
272 Bytes
| import { runHotModuleReloadHmrTest } from './run-hot-module-reload-hmr-test.util' | |
| const nextConfig = { basePath: '/docs', assetPrefix: '' } | |
| describe(`HMR - Hot Module Reload, nextConfig: ${JSON.stringify(nextConfig)}`, () => { | |
| runHotModuleReloadHmrTest(nextConfig) | |
| }) | |