fix: codegen breaking
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { HTTPSnippet } from "httpsnippet"
|
import * as HTTPSnippet from "httpsnippet"
|
||||||
import { HoppRESTRequest } from "@hoppscotch/data"
|
import { HoppRESTRequest } from "@hoppscotch/data"
|
||||||
import * as O from "fp-ts/Option"
|
import * as O from "fp-ts/Option"
|
||||||
import * as E from "fp-ts/Either"
|
import * as E from "fp-ts/Either"
|
||||||
@@ -208,7 +208,10 @@ export const generateCode = (
|
|||||||
}).convert(codegenInfo.lang, codegenInfo.mode, {
|
}).convert(codegenInfo.lang, codegenInfo.mode, {
|
||||||
indent: " ",
|
indent: " ",
|
||||||
}),
|
}),
|
||||||
(e) => e
|
(e) => {
|
||||||
|
console.error(e)
|
||||||
|
return e
|
||||||
|
}
|
||||||
),
|
),
|
||||||
|
|
||||||
// Only allow string output to pass through, else none
|
// Only allow string output to pass through, else none
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ export default defineConfig({
|
|||||||
"@lib": path.resolve(__dirname, "./src/lib"),
|
"@lib": path.resolve(__dirname, "./src/lib"),
|
||||||
stream: "stream-browserify",
|
stream: "stream-browserify",
|
||||||
util: "util",
|
util: "util",
|
||||||
|
querystring: "qs",
|
||||||
},
|
},
|
||||||
dedupe: ["vue"],
|
dedupe: ["vue"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user