npm.io
0.7.5 • Published 2 years ago

@types/rollup-plugin-natives

Licence
MIT
Version
0.7.5
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/rollup-plugin-natives

Summary

This package contains type definitions for rollup-plugin-natives (https://github.com/danielgindi/rollup-plugin-natives).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rollup-plugin-natives.

index.d.ts

import { Plugin } from "rollup";

interface RollupPluginNativesOptions {
    copyTo?: string;
    destDir?: string;
    dlopen?: boolean;
    map?: (modulePath: string) => string | { name: string; copyTo: string };
    targetEsm?: boolean;
    sourcemap?: boolean;
}

declare function nativePlugin(options: RollupPluginNativesOptions): Plugin;

export = nativePlugin;

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: rollup

Credits

These definitions were written by Mohammad Kermani.