{"id":17105652,"url":"https://github.com/domchen/tspack","last_synced_at":"2025-09-12T08:33:17.500Z","repository":{"id":57381784,"uuid":"45247749","full_name":"domchen/tspack","owner":"domchen","description":"A module bundler for TypeScript","archived":false,"fork":false,"pushed_at":"2017-07-23T03:45:22.000Z","size":113,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T21:37:11.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/domchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-30T11:42:19.000Z","updated_at":"2022-05-01T00:37:27.000Z","dependencies_parsed_at":"2022-09-13T11:30:33.338Z","dependency_job_id":null,"html_url":"https://github.com/domchen/tspack","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domchen%2Ftspack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domchen%2Ftspack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domchen%2Ftspack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/domchen%2Ftspack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/domchen","download_url":"https://codeload.github.com/domchen/tspack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248651025,"owners_count":21139730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T15:42:38.478Z","updated_at":"2025-04-13T01:20:23.178Z","avatar_url":"https://github.com/domchen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm version](https://badge.fury.io/js/tspack.svg)](https://badge.fury.io/js/tspack)\n\n# Introduction\n\ntspack is a bundler for typescript modules. Packs many modules into a few bundled assets. Allows to split your codebase into multiple bundles, which can be loaded on demand.\n\n\n# Installation\n\nproject:\n`npm install tspack`\n\nglobal:\n`npm install tspack -g`\n\n\n# Example\n\ntsconfig.json : \n\n```\n{\n  \"compilerOptions\": {\n    \"outDir\": \"bin-debug\",\n    \"target\": \"ES5\",\n    \"declaration\": true,\n    \"accessorOptimization\": true,\n    \"emitReflection\": true,\n    \"reorderFiles\": true,\n    \"defines\": {\n      \"DEBUG\": false,\n      \"LANGUAGE\": \"en_US\"\n    }\n  },\n  \"modules\": [\n    {\n      \"name\": \"core\",\n      \"include\": [\n        \"src/**/*\"\n      ],\n      \"exclude\": [\n        \"**/web/*\",\n        \"node_modules\"\n      ],\n      \"dependencies\": []\n    },\n    {\n      \"name\": \"web\",\n      \"declaration\": false, // Override the default compiler options defined above.\n      \"include\": [\n        \"src/**/web/*\"\n      ],\n      \"exclude\": [\n        \"node_modules\"\n      ],\n      \"dependencies\": [\n        \"core\"\n      ]\n    }\n  ]\n}\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomchen%2Ftspack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdomchen%2Ftspack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdomchen%2Ftspack/lists"}