Files
callstack__agent-device/rslib.config.ts
T
Michał Pierzchała d77a9211ab feat: add Android snapshot helper (#454)
* feat: add android snapshot helper

* fix: harden android snapshot helper packaging

* fix: harden android xml attribute parsing

* fix: capture android helper window roots

* fix: validate android helper install args

* fix: harden android helper manifest and traversal

* refactor: drop unused helper timeout parameter

* feat: bundle android snapshot helper in npm package

* feat: enable bundled android snapshot helper by default

* refactor: simplify android snapshot helper resolution

* fix: harden android snapshot helper artifacts

* refactor: split android snapshot helper modules

* fix: use type-only snapshot helper imports
2026-04-27 16:01:37 -04:00

46 lines
1.2 KiB
TypeScript

import path from 'node:path';
import { defineConfig } from '@rslib/core';
export default defineConfig({
lib: [
{
format: 'esm',
syntax: 'esnext',
dts: {
bundle: true,
},
shims: {
esm: {
__filename: true,
},
},
source: {
entry: {
index: 'src/index.ts',
io: 'src/io.ts',
artifacts: 'src/artifacts.ts',
metro: 'src/metro.ts',
'remote-config': 'src/remote-config.ts',
'install-source': 'src/install-source.ts',
'android-apps': 'src/android-apps.ts',
'android-snapshot-helper': 'src/android-snapshot-helper.ts',
contracts: 'src/contracts.ts',
selectors: 'src/selectors.ts',
finders: 'src/finders.ts',
'internal/bin': 'src/bin.ts',
'internal/companion-tunnel': 'src/companion-tunnel.ts',
'internal/daemon': 'src/daemon.ts',
'internal/update-check-entry': 'src/utils/update-check-entry.ts',
},
tsconfigPath: 'tsconfig.lib.json',
},
output: {
distPath: {
root: path.join('dist', 'src'),
},
minify: true,
},
},
],
});