roc-plugin-typescript

2.1.2 • Public • Published

roc-plugin-typescript

A roc plugin for compiling typescript (*.ts and *.tsx) files. It uses ts-loader for to let webpack compile typescript files and adds source maps via source-map-loader.

How to use?

Add the plugin as a dev dependency of your roc application:

npm install --save-dev roc-plugin-typescript

The plugin will automatically hook into webpacks build process and add a loader for *.ts and *.tsx files. The compiler will look for a tsconfig.json file in the root of you roc project, which you can use for configuration.

Documentation


Generated by Roc

Package Sidebar

Install

npm i roc-plugin-typescript

Weekly Downloads

13

Version

2.1.2

License

MIT

Last publish

Collaborators

  • dlmr
  • naycon