Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wessberg/rollup-plugin-ts

Package Overview
Dependencies
Maintainers
1
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wessberg/rollup-plugin-ts

A Rollup plugin for Typescript

  • 0.0.28
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-35.55%
Maintainers
1
Weekly downloads
 
Created
Source

@wessberg/rollup-plugin-ts

NPM version License-mit

This is a simple Rollup Plugin that can transform Typescript files. It can generate declaration files and prints diagnostics.

Installation

You can install this plugin from NPM:

npm install @wessberg/rollup-plugin-ts

Usage

Add the plugin to your Rollup plugins:

import typescriptRollupPlugin from "@wessberg/rollup-plugin-ts";

// ...

export default {
    // ...
	plugins: [
		// ...
		typescriptRollupPlugin({
		    // The path to the tsconfig.json file to use
			tsconfig: "path_to_tsconfig.json", // default: "tsconfig.json",
			// The path to the project root
			root: "path_to_root", // default: process.cwd(),
			// If true, no files will be emitted, even though 'declaration' is true in the tsconfig.json file
			include: [], // The file paths to include,
			exclude: [] // The file paths to exclude
		})
	]
}

FAQs

Package last updated on 27 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc