ec81ff7b01383702102836257d2b1b4c7082a75f
Library template
Basic template to create a TypeScript library that works properly when included
How to split in multiple file
Technically, there is nothing to do, but if you want to allow sub-imports, you have to :
- In
package.json, underexports, add"./submodule": "./src/submodule.ts" - In
tsconfig.json, underpaths, add"lib-name/*": ["./src/*"]
Description
Languages
TypeScript
100%