mirror of
https://github.com/cosinekitty/astronomy.git
synced 2025-12-27 01:30:50 -05:00
I found that the Angular bundles had all the astronomy-engine library for a total of 90.62Kb after this change Angular is able to reduce the demo module to 54.56Kb Based on https://toastui.medium.com/building-a-ui-library-capable-of-tree-shaking-from-a-to-z-b3f8a9be589f
14 lines
290 B
JSON
14 lines
290 B
JSON
{
|
|
"compilerOptions": {
|
|
"outDir": "../source/js/",
|
|
"declaration": true,
|
|
"moduleResolution": "node",
|
|
"module": "commonjs",
|
|
"target": "es2015",
|
|
"strict": true,
|
|
"lib": ["dom", "es6"]
|
|
},
|
|
"files": [
|
|
"../source/js/astronomy.ts"
|
|
]
|
|
} |