mirror of
https://github.com/tradingview/lightweight-charts.git
synced 2024-11-25 16:50:59 +08:00
080aa9aa52
It allows to minify everything aren't exported to the public space, so it reduces bundle size a lot (by several KB which is several % in min.gz)
15 lines
361 B
JSON
15 lines
361 B
JSON
{
|
|
"extends": "./tsconfig.options.json",
|
|
"compilerOptions": {
|
|
"outDir": "lib/prod",
|
|
"plugins": [
|
|
{ "transform": "ts-transformer-strip-const-enums", "entrySourceFiles": ["./src/index.ts"] },
|
|
{ "transform": "ts-transformer-properties-rename", "entrySourceFiles": ["./src/index.ts"] }
|
|
],
|
|
"stripInternal": true
|
|
},
|
|
"include": [
|
|
"src/**/*.ts"
|
|
]
|
|
}
|