1.0.5 • Published 7 years ago

tspack v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

npm version

Introduction

tspack 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.

Installation

project: npm install tspack

global: npm install tspack -g

Example

tsconfig.json :

{
  "compilerOptions": {
    "outDir": "bin-debug",
    "target": "ES5",
    "declaration": true,
    "accessorOptimization": true,
    "emitReflection": true,
    "reorderFiles": true,
    "defines": {
      "DEBUG": false,
      "LANGUAGE": "en_US"
    }
  },
  "modules": [
    {
      "name": "core",
      "include": [
        "src/**/*"
      ],
      "exclude": [
        "**/web/*",
        "node_modules"
      ],
      "dependencies": []
    },
    {
      "name": "web",
      "declaration": false, // Override the default compiler options defined above.
      "include": [
        "src/**/web/*"
      ],
      "exclude": [
        "node_modules"
      ],
      "dependencies": [
        "core"
      ]
    }
  ]
}
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago