roc-plugin-typescript
v2.1.2
Published
A roc plugin for compiling typescript (*.ts and *.tsx) files
Downloads
5
Readme
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