@types/babelify
- Version 7.3.10
- Published
- 5.79 kB
- 2 dependencies
- MIT license
Install
npm i @types/babelify
yarn add @types/babelify
pnpm add @types/babelify
Overview
TypeScript definitions for babelify
Index
Functions
Classes
Interfaces
Functions
Classes
class BabelifyObject
class BabelifyObject extends stream.Transform {}
Interfaces
interface BabelifyConstructor
interface BabelifyConstructor {}
call signature
(filename: string, opts: Babelify.BabelifyOptions): Babelify.BabelifyObject;
interface BabelifyOptions
interface BabelifyOptions extends babel.TransformOptions {}
In addition to the various purposes documented here, all of the babelify options are passed to babel which passes them on to babel.transform() when each file is transformed
property extensions
extensions?: string | string[] | undefined;
These are passed to babel.util.canCompile() for each filename default: null
property sourceMapsAbsolute
sourceMapsAbsolute?: boolean | undefined;
if true, a 'sourceFileName' property with a value equal to the current file being transformed is included with the options passed to babel.transform() default: false
Package Files (1)
Dependencies (2)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/babelify
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/babelify)
- HTML<a href="https://www.jsdocs.io/package/@types/babelify"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2663 ms. - Missing or incorrect documentation? Open an issue for this package.