deno/tests/specs/bundle/browser_platform/entry.ts
Nathan Whitaker be2bb7d5fb
feat(bundle): add --platform flag to bundle (#29697)
Closes #29650.

Currently passing `--platform=browser` does two things:
- makes us prefer the `"browser"` key in package json over module and
main
- makes us prefer the `"browser"` export condition 
but we may add more things in the future
2025-06-12 20:28:54 -04:00

3 lines
87 B
TypeScript

import * as mod from "npm:@denotest/browser-field";
console.log(Object.keys(mod)[0]);