Bundle via esbuild
This commit is contained in:
parent
b28890b401
commit
f7c16f632b
|
@ -3,15 +3,11 @@ import env from "../environment"
|
||||||
import { setJSRunner, JsErrorTimeout } from "@budibase/string-templates"
|
import { setJSRunner, JsErrorTimeout } from "@budibase/string-templates"
|
||||||
import { context } from "@budibase/backend-core"
|
import { context } from "@budibase/backend-core"
|
||||||
import tracer from "dd-trace"
|
import tracer from "dd-trace"
|
||||||
import fs from "fs"
|
|
||||||
import url from "url"
|
import url from "url"
|
||||||
import crypto from "crypto"
|
import crypto from "crypto"
|
||||||
import querystring from "querystring"
|
import querystring from "querystring"
|
||||||
|
|
||||||
const helpersSource = fs.readFileSync(
|
const helpersSource = require("./bundles/index-helpers.ivm.bundle.js.txt")
|
||||||
`${require.resolve("@budibase/string-templates/index-helpers")}`,
|
|
||||||
"utf8"
|
|
||||||
)
|
|
||||||
|
|
||||||
class ExecutionTimeoutError extends Error {
|
class ExecutionTimeoutError extends Error {
|
||||||
constructor(message: string) {
|
constructor(message: string) {
|
||||||
|
|
Loading…
Reference in New Issue