Functions

f
qunitxRuntimePlugin(cwd?: string): Plugin

esbuild plugin that lets test files import { module, test } from 'qunitx' even when the consumer project has NOT installed the separate qunitx runtime package — the case for JSR/standalone-binary/npx users, who have no node_modules at all.

Usage

import * as mod from "lib/setup/qunitx-runtime-plugin.ts";