lightweight-charts/tsconfig.prod.json
Evgeniy Timokhov 080aa9aa52 Introduced ts-transformer-properties-rename instead of ts-transformer-minify-privates
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)
2020-05-26 14:52:43 +03:00

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"
]
}