lightweight-charts/dts-config.js
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

21 lines
384 B
JavaScript

// @ts-check
/** @type import('dts-bundle-generator/config-schema').BundlerConfig */
const config = {
compilationOptions: {
preferredConfigPath: './tsconfig.prod.json',
},
entries: [
{
filePath: './lib/prod/src/index.d.ts',
outFile: './dist/typings.d.ts',
output: {
sortNodes: true,
respectPreserveConstEnum: true,
},
},
],
};
module.exports = config;