mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 07:02:28 +03:00
chore(bindings/node): Fix type definition
- Closes https://github.com/swc-project/swc/issues/9510
This commit is contained in:
parent
47ef38dc1d
commit
64ec111769
@ -14,7 +14,8 @@ export type * from "@swc/types";
|
||||
export { newMangleNameCache as experimental_newMangleNameCache } from "./binding";
|
||||
import { BundleInput, compileBundleOptions } from "./spack";
|
||||
import * as assert from "assert";
|
||||
import type { NapiMinifyExtra } from "../binding";
|
||||
// @ts-ignore
|
||||
import type { NapiMinifyExtra } from "./binding";
|
||||
|
||||
// Allow overrides to the location of the .node binding file
|
||||
const bindingsOverride = process.env["SWC_BINARY_PATH"];
|
||||
|
Loading…
Reference in New Issue
Block a user