f1898ff0fc117b72f8c981953dd3408eab9b90a8
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%