1.1.0 • Published 7 years ago

tronic-plugin-typescript v1.1.0

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

tronic-plugin-typescript

TypeScript plugin for tronic with predefined defaults

Getting started

Install with npm:

npm install --save-dev tronic-plugin-typescript

Setup

Create a tronic.config.js file at the root of your project with the following content:

module.exports = {
  plugins: [
    'tronic-plugin-typescript'
  ]
}

You will also need to create and configure a tsconfig.json file at the root of your project. More details available at https://www.typescriptlang.org/docs/handbook/tsconfig-json.html.

Configuration

You may configure the plugin using any of the options available for ts-loader. The options you specify will be merged with the defaults, so there's no need to redefine existing properties.

You can do so as below:

module.exports = {
  plugins: [
    {
      name: 'tronic-plugin-typescript',
      options: {
        tsLoader: {
          transpileOnly: true
        }
      }
    }
  ]
}
1.1.0

7 years ago

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