1.0.0 • Published 6 years ago

parcel-plugin-typescript v1.0.0

Weekly downloads
300
License
MIT
Repository
github
Last release
6 years ago

parcel-plugin-typescript

Enhanced TypeScript integration for Parcel.

Screenshot

Differences with Parcel native support

While Parcel has built-in transpiling support for TypeScript, this plugin provides additional features.

If you only need transpiling then this plugin might not be necessary. You can see this plugin as a Parcel version of awesome-typescript-loader or ts-loader.

Features

  • Type checking:
    Checking your TypeScript code for errors, in a separate process for speed.
  • Path mappings:
    Rewriting your import on the fly accordingly to your paths and baseUrl compiler options.
  • Custom AST transformers: Use your own TypeScript transformers

Upcoming features

  • TSLint support

Angular Support

Angular support has been moved to parcel-plugin-angular.

Installation

yarn add parcel-plugin-typescript

or

npm install parcel-plugin-typescript

Configuration

For configuration, you can pass a parcelTsPluginOptions object in your tsconfig.json:

{
  "compilerOptions": {...},
  // the plugin options
  "parcelTsPluginOptions": {
    // If true type-checking is disabled
    "transpileOnly": false
  }
}
1.0.0

6 years ago

1.0.0-beta.0

6 years ago

0.8.0-next.1

6 years ago

0.8.0-next.2

6 years ago

0.7.1

6 years ago

0.6.0-next.3

6 years ago

0.8.0-next.0

6 years ago

0.7.0

6 years ago

0.6.1

6 years ago

0.6.1-next.2

6 years ago

0.6.1-next.1

6 years ago

0.6.1-next.0

6 years ago

0.6.0

6 years ago

0.5.3

6 years ago

0.6.0-next.2

6 years ago

0.6.0-next.1

6 years ago

0.6.0-next.0

6 years ago

0.5.2

6 years ago

0.5.2-next.0

6 years ago

0.5.1

6 years ago

0.5.1-next.2

6 years ago

0.5.0

6 years ago

0.5.0-next.2

6 years ago

0.4.2-next.3

6 years ago

0.4.2-next.2

6 years ago

0.5.0-next.0

6 years ago

0.4.2-next.0

6 years ago

0.4.1

6 years ago

0.4.1-next.1

6 years ago

0.4.1-next.0

6 years ago

0.4.0

6 years ago

0.4.0-next.11

6 years ago

0.4.0-next.10

6 years ago

0.4.0-next.9

6 years ago

0.4.0-next.8

6 years ago

0.4.0-next.7

6 years ago

0.4.0-next.6

6 years ago

0.4.0-next.5

6 years ago

0.4.0-next.4

6 years ago

0.4.0-next.3

6 years ago

0.4.0-next.2

6 years ago

0.4.0-next.1

6 years ago

0.4.0-next.0

6 years ago

0.2.5

6 years ago

0.4.0-closure.3

6 years ago

0.4.0-closure.2

6 years ago

0.4.0-closure.1

6 years ago

0.4.0-closure.0

6 years ago

0.3.0

6 years ago

0.2.5-next

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.3-next.0

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.3.0-next-aot.0

6 years ago

0.2.0

6 years ago

0.2.0-astmap.0

6 years ago

0.2.0-angular.0

6 years ago

0.1.0

6 years ago

0.0.1

6 years ago