mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 05:41:06 +00:00
41af1d8561
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>
39 lines
690 B
JSON
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/**/*"
|
|
]
|
|
}
|