third_party.pigweed.src/tsconfig.json
Asad Memon 41af1d8561 pw_web_ui: Replace '@pigweed' and 'pigweed' imports with 'pigweedjs'
Changing package name from pigweed to pigweedjs caused a few protos
to not be included in final bundle. This fixes the bug and adds
a test to check if the bundle imports some outside module, which
happens when rollup fails to find the right module when creating
the bundle.

Change-Id: I0987ca74e91b1b355779bf382ea8b567e62eda18
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103400
Commit-Queue: Asad Memon <asadmemon@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
2022-07-25 21:46:54 +00:00

39 lines
690 B
JSON

{
"compilerOptions": {
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"outDir": "dist",
"baseUrl": ".",
"esModuleInterop": true,
"target": "es6",
"declarationDir": "./types",
"moduleResolution": "node",
"declaration": true,
"allowJs": true,
"paths": {
"pigweedjs/pw_*": [
"./pw_*/ts"
],
"pigweedjs/protos/*": [
"./dist/protos/*"
],
"pigweedjs/types/*": [
"./ts/types/*"
]
}
},
"include": [
"ts",
"pw_status/ts",
"pw_hdlc/ts",
"pw_tokenizer/ts",
"pw_protobuf_compiler/ts",
"pw_rpc/ts",
"pw_rpc/internal",
"dist/protos/**/*"
]
}