1.0.0 • Published 7 years ago

parcel-plugin-typescript v1.0.0

Weekly downloads
300
License
MIT
Repository
github
Last release
7 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

7 years ago

1.0.0-beta.0

7 years ago

0.8.0-next.1

7 years ago

0.8.0-next.2

7 years ago

0.7.1

7 years ago

0.6.0-next.3

7 years ago

0.8.0-next.0

7 years ago

0.7.0

7 years ago

0.6.1

7 years ago

0.6.1-next.2

7 years ago

0.6.1-next.1

7 years ago

0.6.1-next.0

7 years ago

0.6.0

7 years ago

0.5.3

8 years ago

0.6.0-next.2

8 years ago

0.6.0-next.1

8 years ago

0.6.0-next.0

8 years ago

0.5.2

8 years ago

0.5.2-next.0

8 years ago

0.5.1

8 years ago

0.5.1-next.2

8 years ago

0.5.0

8 years ago

0.5.0-next.2

8 years ago

0.4.2-next.3

8 years ago

0.4.2-next.2

8 years ago

0.5.0-next.0

8 years ago

0.4.2-next.0

8 years ago

0.4.1

8 years ago

0.4.1-next.1

8 years ago

0.4.1-next.0

8 years ago

0.4.0

8 years ago

0.4.0-next.11

8 years ago

0.4.0-next.10

8 years ago

0.4.0-next.9

8 years ago

0.4.0-next.8

8 years ago

0.4.0-next.7

8 years ago

0.4.0-next.6

8 years ago

0.4.0-next.5

8 years ago

0.4.0-next.4

8 years ago

0.4.0-next.3

8 years ago

0.4.0-next.2

8 years ago

0.4.0-next.1

8 years ago

0.4.0-next.0

8 years ago

0.2.5

8 years ago

0.4.0-closure.3

8 years ago

0.4.0-closure.2

8 years ago

0.4.0-closure.1

8 years ago

0.4.0-closure.0

8 years ago

0.3.0

8 years ago

0.2.5-next

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.3-next.0

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.3.0-next-aot.0

8 years ago

0.2.0

8 years ago

0.2.0-astmap.0

8 years ago

0.2.0-angular.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago