mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-03 05:55:03 +01:00
- 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
13 lines
214 B
JSON
13 lines
214 B
JSON
{
|
|
"extends": "../../tsconfig.libESM.json",
|
|
"include": ["./src"],
|
|
"compilerOptions": {
|
|
"outDir": "./libESM"
|
|
},
|
|
"references": [
|
|
{
|
|
"path": "../eslint"
|
|
}
|
|
]
|
|
}
|