MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / getBaseBrowserOptions

Function getBaseBrowserOptions

base.tsup.config.ts:61–69  ·  view source on GitHub ↗
(pkg: PKG, cwd: string, requester: Requester = 'xhr')

Source from the content-addressed store, hash-verified

59}
60
61export function getBaseBrowserOptions(pkg: PKG, cwd: string, requester: Requester = 'xhr'): Options {
62 return {
63 ...getBaseConfig(cwd),
64 platform: 'browser',
65 format: ['esm'],
66 target: ['chrome109', 'safari15.6', 'firefox115', 'edge126'],
67 external: [...getDependencies(pkg, requester), 'dom'],
68 };
69}

Callers 15

tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90
tsup.config.tsFile · 0.90

Calls 2

getBaseConfigFunction · 0.85
getDependenciesFunction · 0.85

Tested by

no test coverage detected