Files
trezor-suite/packages/schema-utils/tsconfig.libESM.json
karliatto a9e189b9a3 build(repository): Connect publishing ESM
- Adding ESM builds for all the packages that are published on 'npm'.
   - Adding libESM to published files in package.json files
   - Relays only on "exports" section on package.json to define the ways to consume the package, so only modern bundlers would be able to use them, that should not be an issue, since projects are used to be on the latest
   - Using the root tsconfig.libESM
   - Using wildcard for @trezor/utils export so we can import any of the functions directly https://nodejs.org/api/packages.html#subpath-patterns
2026-01-20 16:37:46 +01:00

13 lines
214 B
JSON

{
"extends": "../../tsconfig.libESM.json",
"include": ["./src"],
"compilerOptions": {
"outDir": "./libESM"
},
"references": [
{
"path": "../eslint"
}
]
}