Bundle via esbuild

This commit is contained in:
Adria Navarro 2024-02-06 10:05:17 +01:00
parent b28890b401
commit f7c16f632b
1 changed files with 1 additions and 5 deletions

View File

@ -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) {