deno.land / x / packup@v0.1.12 / bundle_util_test.ts

bundle_util_test.ts
View Documentation
1
2
3
4
5
6
7
8
9
10
import { assertStringIncludes } from "./test_deps.ts";import { bundleByEsbuild } from "./bundle_util.ts";import { wasmPath } from "./install_util.ts";
Deno.test("bundleByEsbuild - bundles the script by esbuild", async () => { const bundle = await bundleByEsbuild("testdata/foo.js", wasmPath());
assertStringIncludes(bundle, `console.log("hi");`);});
packup
📦 Zero-config web application packager in Deno
GitHub Repositorykt3k/packup
GitHub Stars
260

Version Info

Tagged at
4 months ago