├── .github ├── renovate.json5 └── workflows │ ├── release.yml │ └── test.yml ├── .gitignore ├── .npmrc ├── .prettierignore ├── .prettierrc.js ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── biome.jsonc ├── client-src ├── index.js └── utils │ └── ansiHTML.ts ├── jest.config.js ├── package.json ├── pnpm-lock.yaml ├── scripts ├── patch-node-env.cjs └── release.mjs ├── src ├── config.ts ├── index.ts ├── patch.ts └── server.ts ├── tests ├── ansiHTML.test.ts ├── e2e │ ├── __snapshots__ │ │ ├── allowed-hosts.test.js.snap.webpack5 │ │ ├── api.test.js.snap.webpack5 │ │ ├── app.test.js.snap.webpack5 │ │ ├── bonjour.test.js.snap.webpack5 │ │ ├── built-in-routes.test.js.snap.webpack5 │ │ ├── client-reconnect.test.js.snap.webpack5 │ │ ├── client.test.js.snap.webpack5 │ │ ├── compress.test.js.snap.webpack5 │ │ ├── entry.test.js.snap.webpack5 │ │ ├── headers.test.js.snap.webpack5 │ │ ├── history-api-fallback.test.js.snap.webpack5 │ │ ├── host.test.js.snap.webpack5 │ │ ├── hot-and-live-reload.test.js.snap.webpack5 │ │ ├── ipc.test.js.snap.webpack5 │ │ ├── logging.test.js.snap.webpack5 │ │ ├── mime-types.test.js.snap.webpack5 │ │ ├── module-federation.test.js.snap.webpack5 │ │ ├── multi-compiler.test.js.snap.webpack5 │ │ ├── on-listening.test.js.snap.webpack5 │ │ ├── overlay.test.js.snap.webpack5 │ │ ├── port.test.js.snap.webpack5 │ │ ├── server-and-client-transport.test.js.snap.webpack5 │ │ ├── server.test.js.snap.webpack5 │ │ ├── setup-exit-signals.test.js.snap.webpack5 │ │ ├── setup-middlewares.test.js.snap.webpack5 │ │ ├── static-directory.test.js.snap.webpack5 │ │ ├── static-public-path.test.js.snap.webpack5 │ │ ├── stats.test.js.snap.webpack5 │ │ ├── target.test.js.snap.webpack5 │ │ ├── watch-files.test.js.snap.webpack5 │ │ ├── web-socket-communication.test.js.snap.webpack5 │ │ ├── web-socket-server-url.test.js.snap.webpack5 │ │ └── web-socket-server.test.js.snap.webpack5 │ ├── allowed-hosts.test.js │ ├── api.test.js │ ├── app.test.js │ ├── bonjour.test.js │ ├── built-in-routes.test.js │ ├── client-reconnect.test.js │ ├── client.test.js │ ├── compress.test.js │ ├── entry.test.js │ ├── headers.test.js │ ├── history-api-fallback.test.js │ ├── host.test.js │ ├── hot-and-live-reload.test.js │ ├── ipc.test.js │ ├── lazy-compilation.test.js │ ├── logging.test.js │ ├── mime-types.test.js │ ├── module-federation.test.js │ ├── multi-compiler.test.js │ ├── on-listening.test.js │ ├── overlay.test.js │ ├── port.test.js │ ├── progress.test.js │ ├── range-header.test.js │ ├── server-and-client-transport.test.js │ ├── server.test.js │ ├── setup-exit-signals.test.js │ ├── setup-middlewares.test.js │ ├── static-directory.test.js │ ├── static-public-path.test.js │ ├── stats.test.js │ ├── target.test.js │ ├── watch-files.test.js │ ├── web-socket-communication.test.js │ ├── web-socket-server-url.test.js │ └── web-socket-server.test.js ├── fixtures │ ├── client-config │ │ ├── bar.js │ │ ├── foo.js │ │ ├── index.html │ │ ├── static │ │ │ └── foo.txt │ │ └── webpack.config.js │ ├── custom-client │ │ ├── CustomClientEntry.js │ │ ├── CustomClientHotEntry.js │ │ └── CustomSockJSClient.js │ ├── historyapifallback-2-config │ │ ├── bar.html │ │ ├── foo.js │ │ ├── other.html │ │ ├── random-file.txt │ │ └── webpack.config.js │ ├── historyapifallback-3-config │ │ ├── bar.html │ │ ├── foo.js │ │ ├── index.html │ │ └── webpack.config.js │ ├── historyapifallback-config │ │ ├── bar.html │ │ ├── foo.js │ │ ├── index.html │ │ └── webpack.config.js │ ├── https-certificate │ │ ├── ca-symlink.pem │ │ ├── ca.pem │ │ ├── server-symlink.crt │ │ ├── server-symlink.key │ │ ├── server-symlink.pfx │ │ ├── server.crt │ │ ├── server.key │ │ └── server.pfx │ ├── lazy-compilation-multiple-entries │ │ ├── one.js │ │ ├── two.js │ │ └── webpack.config.js │ ├── lazy-compilation-single-entry │ │ ├── entry.js │ │ └── webpack.config.js │ ├── mime-types-config │ │ ├── file.custom │ │ ├── foo.js │ │ └── webpack.config.js │ ├── module-federation-config │ │ ├── entry1.js │ │ ├── entry2.js │ │ ├── webpack.config.js │ │ ├── webpack.multi.config.js │ │ ├── webpack.object-entry.config.js │ │ └── webpack.plugin.js │ ├── multi-compiler-one-configuration │ │ ├── foo.js │ │ └── webpack.config.js │ ├── multi-compiler-two-configurations │ │ ├── one.js │ │ ├── two.js │ │ └── webpack.config.js │ ├── multi-public-path-config │ │ ├── bar.js │ │ ├── baz.js │ │ ├── foo.js │ │ ├── test.html │ │ └── webpack.config.js │ ├── overlay-config │ │ ├── foo.js │ │ ├── trusted-types.webpack.config.js │ │ └── webpack.config.js │ ├── provide-plugin-custom │ │ ├── foo.js │ │ └── webpack.config.js │ ├── provide-plugin-default │ │ ├── foo.js │ │ └── webpack.config.js │ ├── provide-plugin-sockjs-config │ │ ├── foo.js │ │ └── webpack.config.js │ ├── provide-plugin-ws-config │ │ ├── foo.js │ │ └── webpack.config.js │ ├── reload-config-2 │ │ ├── foo.js │ │ └── webpack.config.js │ ├── reload-config │ │ ├── foo.js │ │ └── webpack.config.js │ ├── simple-config-other │ │ ├── foo.js │ │ └── webpack.config.js │ ├── simple-config │ │ ├── foo.js │ │ └── webpack.config.js │ ├── ssl │ │ ├── localhost-cert.pem │ │ └── localhost-privkey.pem │ ├── static-config │ │ ├── foo.js │ │ ├── other │ │ │ └── foo.html │ │ ├── public │ │ │ ├── assets │ │ │ │ ├── example.txt │ │ │ │ └── other.txt │ │ │ ├── bar │ │ │ │ └── index.html │ │ │ ├── foo.wasm │ │ │ ├── index.html │ │ │ ├── node_modules │ │ │ │ ├── .gitkeep │ │ │ │ └── index.html │ │ │ └── other.html │ │ ├── static │ │ │ └── index.html │ │ └── webpack.config.js │ ├── universal-compiler-config │ │ ├── browser.js │ │ ├── server.js │ │ └── webpack.config.js │ ├── watch-files-config │ │ ├── foo.js │ │ ├── other │ │ │ └── foo.html │ │ ├── public │ │ │ ├── assets │ │ │ │ ├── example.txt │ │ │ │ ├── non-exist.txt │ │ │ │ └── other.txt │ │ │ ├── bar │ │ │ │ └── index.html │ │ │ └── other.html │ │ ├── static │ │ │ └── index.html │ │ └── webpack.config.js │ ├── worker-config-dev-server-false │ │ ├── index.js │ │ ├── public │ │ │ └── worker-bundle.js │ │ ├── webpack.config.js │ │ └── worker.js │ └── worker-config │ │ ├── index.js │ │ ├── webpack.config.js │ │ └── worker.js ├── helpers │ ├── conditional-test.js │ ├── custom-http.js │ ├── get-port.js │ ├── global-setup-test.js │ ├── html-generator-plugin.js │ ├── normalize-options.js │ ├── normalize.js │ ├── ports-map.js │ ├── puppeteer-constants.js │ ├── run-browser.js │ ├── sequencer.js │ ├── session-subscribe.js │ ├── setup-test.js │ ├── snapshot-resolver.js │ ├── test-server.js │ └── trusted-types-html-generator-plugin.js ├── normalizeOptions.test.ts ├── placeholder.js ├── placeholder1.js └── tsconfig.json ├── tsconfig.build.json ├── tsconfig.client.json └── tsconfig.json /.github/renovate.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.github/renovate.json5 -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.npmrc -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules 3 | client 4 | *.tsbuildinfo 5 | pnpm-lock.yaml 6 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # @rspack/dev-server 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/README.md -------------------------------------------------------------------------------- /biome.jsonc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/biome.jsonc -------------------------------------------------------------------------------- /client-src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/client-src/index.js -------------------------------------------------------------------------------- /client-src/utils/ansiHTML.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/client-src/utils/ansiHTML.ts -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /scripts/patch-node-env.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/scripts/patch-node-env.cjs -------------------------------------------------------------------------------- /scripts/release.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/scripts/release.mjs -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/src/config.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/patch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/src/patch.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/src/server.ts -------------------------------------------------------------------------------- /tests/ansiHTML.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/ansiHTML.test.ts -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/allowed-hosts.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/api.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/api.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/app.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/app.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/bonjour.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/client-reconnect.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/client.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/client.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/compress.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/compress.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/entry.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/entry.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/headers.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/headers.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/history-api-fallback.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/host.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/host.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/hot-and-live-reload.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/ipc.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/ipc.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/logging.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/logging.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/mime-types.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/module-federation.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/multi-compiler.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/on-listening.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/overlay.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/overlay.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/port.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/port.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/server-and-client-transport.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/server.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/server.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/setup-exit-signals.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/setup-middlewares.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/static-directory.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/static-public-path.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/stats.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/stats.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/target.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/target.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/watch-files.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/watch-files.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/web-socket-communication.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/web-socket-server-url.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/__snapshots__/web-socket-server.test.js.snap.webpack5 -------------------------------------------------------------------------------- /tests/e2e/allowed-hosts.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/allowed-hosts.test.js -------------------------------------------------------------------------------- /tests/e2e/api.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/api.test.js -------------------------------------------------------------------------------- /tests/e2e/app.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/app.test.js -------------------------------------------------------------------------------- /tests/e2e/bonjour.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/bonjour.test.js -------------------------------------------------------------------------------- /tests/e2e/built-in-routes.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/built-in-routes.test.js -------------------------------------------------------------------------------- /tests/e2e/client-reconnect.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/client-reconnect.test.js -------------------------------------------------------------------------------- /tests/e2e/client.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/client.test.js -------------------------------------------------------------------------------- /tests/e2e/compress.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/compress.test.js -------------------------------------------------------------------------------- /tests/e2e/entry.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/entry.test.js -------------------------------------------------------------------------------- /tests/e2e/headers.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/headers.test.js -------------------------------------------------------------------------------- /tests/e2e/history-api-fallback.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/history-api-fallback.test.js -------------------------------------------------------------------------------- /tests/e2e/host.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/host.test.js -------------------------------------------------------------------------------- /tests/e2e/hot-and-live-reload.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/hot-and-live-reload.test.js -------------------------------------------------------------------------------- /tests/e2e/ipc.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/ipc.test.js -------------------------------------------------------------------------------- /tests/e2e/lazy-compilation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/lazy-compilation.test.js -------------------------------------------------------------------------------- /tests/e2e/logging.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/logging.test.js -------------------------------------------------------------------------------- /tests/e2e/mime-types.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/mime-types.test.js -------------------------------------------------------------------------------- /tests/e2e/module-federation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/module-federation.test.js -------------------------------------------------------------------------------- /tests/e2e/multi-compiler.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/multi-compiler.test.js -------------------------------------------------------------------------------- /tests/e2e/on-listening.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/on-listening.test.js -------------------------------------------------------------------------------- /tests/e2e/overlay.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/overlay.test.js -------------------------------------------------------------------------------- /tests/e2e/port.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/port.test.js -------------------------------------------------------------------------------- /tests/e2e/progress.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/progress.test.js -------------------------------------------------------------------------------- /tests/e2e/range-header.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/range-header.test.js -------------------------------------------------------------------------------- /tests/e2e/server-and-client-transport.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/server-and-client-transport.test.js -------------------------------------------------------------------------------- /tests/e2e/server.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/server.test.js -------------------------------------------------------------------------------- /tests/e2e/setup-exit-signals.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/setup-exit-signals.test.js -------------------------------------------------------------------------------- /tests/e2e/setup-middlewares.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/setup-middlewares.test.js -------------------------------------------------------------------------------- /tests/e2e/static-directory.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/static-directory.test.js -------------------------------------------------------------------------------- /tests/e2e/static-public-path.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/static-public-path.test.js -------------------------------------------------------------------------------- /tests/e2e/stats.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/stats.test.js -------------------------------------------------------------------------------- /tests/e2e/target.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/target.test.js -------------------------------------------------------------------------------- /tests/e2e/watch-files.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/watch-files.test.js -------------------------------------------------------------------------------- /tests/e2e/web-socket-communication.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/web-socket-communication.test.js -------------------------------------------------------------------------------- /tests/e2e/web-socket-server-url.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/web-socket-server-url.test.js -------------------------------------------------------------------------------- /tests/e2e/web-socket-server.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/e2e/web-socket-server.test.js -------------------------------------------------------------------------------- /tests/fixtures/client-config/bar.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Bar."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/client-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/client-config/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/client-config/index.html -------------------------------------------------------------------------------- /tests/fixtures/client-config/static/foo.txt: -------------------------------------------------------------------------------- 1 | Text -------------------------------------------------------------------------------- /tests/fixtures/client-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/client-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/custom-client/CustomClientEntry.js: -------------------------------------------------------------------------------- 1 | console.log("custom client entry"); 2 | -------------------------------------------------------------------------------- /tests/fixtures/custom-client/CustomClientHotEntry.js: -------------------------------------------------------------------------------- 1 | console.log("custom client hot entry"); 2 | -------------------------------------------------------------------------------- /tests/fixtures/custom-client/CustomSockJSClient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/custom-client/CustomSockJSClient.js -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-2-config/bar.html: -------------------------------------------------------------------------------- 1 | Foobar 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-2-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-2-config/other.html: -------------------------------------------------------------------------------- 1 | Other file 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-2-config/random-file.txt: -------------------------------------------------------------------------------- 1 | Random file 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-2-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/historyapifallback-2-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-3-config/bar.html: -------------------------------------------------------------------------------- 1 | In-memory file 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-3-config/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/historyapifallback-3-config/foo.js -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-3-config/index.html: -------------------------------------------------------------------------------- 1 | static file 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-3-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/historyapifallback-3-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-config/bar.html: -------------------------------------------------------------------------------- 1 | Foobar 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-config/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/historyapifallback-config/foo.js -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-config/index.html: -------------------------------------------------------------------------------- 1 | Heyyy 2 | -------------------------------------------------------------------------------- /tests/fixtures/historyapifallback-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/historyapifallback-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/ca-symlink.pem: -------------------------------------------------------------------------------- 1 | ca.pem -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/ca.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/https-certificate/ca.pem -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server-symlink.crt: -------------------------------------------------------------------------------- 1 | server.crt -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server-symlink.key: -------------------------------------------------------------------------------- 1 | server.key -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server-symlink.pfx: -------------------------------------------------------------------------------- 1 | server.pfx -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/https-certificate/server.crt -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/https-certificate/server.key -------------------------------------------------------------------------------- /tests/fixtures/https-certificate/server.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/https-certificate/server.pfx -------------------------------------------------------------------------------- /tests/fixtures/lazy-compilation-multiple-entries/one.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("One."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/lazy-compilation-multiple-entries/two.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Two."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/lazy-compilation-multiple-entries/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/lazy-compilation-multiple-entries/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/lazy-compilation-single-entry/entry.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/lazy-compilation-single-entry/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/lazy-compilation-single-entry/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/mime-types-config/file.custom: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /tests/fixtures/mime-types-config/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/mime-types-config/foo.js -------------------------------------------------------------------------------- /tests/fixtures/mime-types-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/mime-types-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/entry1.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = "entry1"; 4 | -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/entry2.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | module.exports = "entry2"; 4 | -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/module-federation-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/webpack.multi.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/module-federation-config/webpack.multi.config.js -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/webpack.object-entry.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/module-federation-config/webpack.object-entry.config.js -------------------------------------------------------------------------------- /tests/fixtures/module-federation-config/webpack.plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/module-federation-config/webpack.plugin.js -------------------------------------------------------------------------------- /tests/fixtures/multi-compiler-one-configuration/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/multi-compiler-one-configuration/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/multi-compiler-one-configuration/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/multi-compiler-two-configurations/one.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/multi-compiler-two-configurations/one.js -------------------------------------------------------------------------------- /tests/fixtures/multi-compiler-two-configurations/two.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("two"); 4 | -------------------------------------------------------------------------------- /tests/fixtures/multi-compiler-two-configurations/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/multi-compiler-two-configurations/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/multi-public-path-config/bar.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/multi-public-path-config/baz.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/multi-public-path-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | require("./test.html"); 4 | -------------------------------------------------------------------------------- /tests/fixtures/multi-public-path-config/test.html: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /tests/fixtures/multi-public-path-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/multi-public-path-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/overlay-config/foo.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/overlay-config/trusted-types.webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/overlay-config/trusted-types.webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/overlay-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/overlay-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-custom/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-custom/foo.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-custom/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-custom/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-default/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-default/foo.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-default/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-default/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-sockjs-config/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-sockjs-config/foo.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-sockjs-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-sockjs-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-ws-config/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-ws-config/foo.js -------------------------------------------------------------------------------- /tests/fixtures/provide-plugin-ws-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/provide-plugin-ws-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/reload-config-2/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/reload-config-2/foo.js -------------------------------------------------------------------------------- /tests/fixtures/reload-config-2/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/reload-config-2/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/reload-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | require("./main.css"); 4 | -------------------------------------------------------------------------------- /tests/fixtures/reload-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/reload-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/simple-config-other/foo.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/simple-config-other/foo.js -------------------------------------------------------------------------------- /tests/fixtures/simple-config-other/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/simple-config-other/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/simple-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/simple-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/simple-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/ssl/localhost-cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/ssl/localhost-cert.pem -------------------------------------------------------------------------------- /tests/fixtures/ssl/localhost-privkey.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/ssl/localhost-privkey.pem -------------------------------------------------------------------------------- /tests/fixtures/static-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/other/foo.html: -------------------------------------------------------------------------------- 1 | Foo! 2 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/assets/example.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/assets/other.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/bar/index.html: -------------------------------------------------------------------------------- 1 | Heyo 2 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/foo.wasm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/index.html: -------------------------------------------------------------------------------- 1 | Heyo. 2 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/node_modules/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/node_modules/index.html: -------------------------------------------------------------------------------- 1 | bar -------------------------------------------------------------------------------- /tests/fixtures/static-config/public/other.html: -------------------------------------------------------------------------------- 1 | Other html 2 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/static/index.html: -------------------------------------------------------------------------------- 1 | Heyo. 2 | -------------------------------------------------------------------------------- /tests/fixtures/static-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/static-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/universal-compiler-config/browser.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hello from the browser"); 4 | -------------------------------------------------------------------------------- /tests/fixtures/universal-compiler-config/server.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hello from the server"); 4 | -------------------------------------------------------------------------------- /tests/fixtures/universal-compiler-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/universal-compiler-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/foo.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | console.log("Hey."); 4 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/other/foo.html: -------------------------------------------------------------------------------- 1 | Foo! 2 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/public/assets/example.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/public/assets/non-exist.txt: -------------------------------------------------------------------------------- 1 | Kurosaki Ichigo -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/public/assets/other.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/public/bar/index.html: -------------------------------------------------------------------------------- 1 | Heyo 2 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/public/other.html: -------------------------------------------------------------------------------- 1 | Other html 2 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/static/index.html: -------------------------------------------------------------------------------- 1 | Heyo. 2 | -------------------------------------------------------------------------------- /tests/fixtures/watch-files-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/watch-files-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config-dev-server-false/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config-dev-server-false/index.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config-dev-server-false/public/worker-bundle.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config-dev-server-false/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config-dev-server-false/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config-dev-server-false/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config-dev-server-false/worker.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config/index.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config/webpack.config.js -------------------------------------------------------------------------------- /tests/fixtures/worker-config/worker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/fixtures/worker-config/worker.js -------------------------------------------------------------------------------- /tests/helpers/conditional-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/conditional-test.js -------------------------------------------------------------------------------- /tests/helpers/custom-http.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/custom-http.js -------------------------------------------------------------------------------- /tests/helpers/get-port.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/get-port.js -------------------------------------------------------------------------------- /tests/helpers/global-setup-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/global-setup-test.js -------------------------------------------------------------------------------- /tests/helpers/html-generator-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/html-generator-plugin.js -------------------------------------------------------------------------------- /tests/helpers/normalize-options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/normalize-options.js -------------------------------------------------------------------------------- /tests/helpers/normalize.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/normalize.js -------------------------------------------------------------------------------- /tests/helpers/ports-map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/ports-map.js -------------------------------------------------------------------------------- /tests/helpers/puppeteer-constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/puppeteer-constants.js -------------------------------------------------------------------------------- /tests/helpers/run-browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/run-browser.js -------------------------------------------------------------------------------- /tests/helpers/sequencer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/sequencer.js -------------------------------------------------------------------------------- /tests/helpers/session-subscribe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/session-subscribe.js -------------------------------------------------------------------------------- /tests/helpers/setup-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/setup-test.js -------------------------------------------------------------------------------- /tests/helpers/snapshot-resolver.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/snapshot-resolver.js -------------------------------------------------------------------------------- /tests/helpers/test-server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/test-server.js -------------------------------------------------------------------------------- /tests/helpers/trusted-types-html-generator-plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/helpers/trusted-types-html-generator-plugin.js -------------------------------------------------------------------------------- /tests/normalizeOptions.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/normalizeOptions.test.ts -------------------------------------------------------------------------------- /tests/placeholder.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/placeholder1.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tests/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tsconfig.build.json -------------------------------------------------------------------------------- /tsconfig.client.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tsconfig.client.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-infra-dev/rspack-dev-server/HEAD/tsconfig.json --------------------------------------------------------------------------------