import { define } from "../scripts/class-definitions"; export default [ define({ name: "Transpiler", construct: true, finalize: true, hasPendingActivity: false, klass: {}, JSType: "0b11101110", proto: { scanImports: { fn: "scanImports", length: 2, }, scan: { fn: "scan", length: 2, }, transform: { fn: "transform", length: 2, }, transformSync: { fn: "transformSync", length: 2, }, }, custom: { onLoadPlugins: { extraHeaderIncludes: ["BunPlugin.h"], impl: "JSTranspiler+BunPlugin-impl.h", type: `WTF::Vector>`, }, onResolvePlugins: { type: `WTF::Vector>`, }, }, }), ];