Remove bundles from string-templates

This commit is contained in:
Adria Navarro 2024-02-06 10:06:26 +01:00
parent f7c16f632b
commit 719062ab2f
3 changed files with 2 additions and 28 deletions

View File

@ -167,12 +167,6 @@
"@budibase/backend-core"
],
"target": "build"
},
{
"projects": [
"@budibase/string-templates"
],
"target": "build:esbuild"
}
]
},
@ -191,16 +185,6 @@
"target": "build"
}
]
},
"test": {
"dependsOn": [
{
"projects": [
"@budibase/string-templates"
],
"target": "build:esbuild"
}
]
}
}
}

View File

@ -21,9 +21,8 @@
"manifest.json"
],
"scripts": {
"build:esbuild": "esbuild --minify --bundle src/index-helpers.js --outfile=dist/index-helpers.bundled.js --platform=node --format=esm --external:handlebars",
"build": "yarn build:esbuild && tsc && rollup -c",
"dev": "concurrently \"yarn build:esbuild --watch\" \"tsc && rollup -cw\"",
"build": "tsc && rollup -c",
"dev": "concurrently \"tsc --watch\" \"rollup -cw\"",
"test": "jest",
"manifest": "node ./scripts/gen-collection-info.js"
},

View File

@ -1,9 +0,0 @@
const { getJsHelperList } = require("./helpers/list")
const helpers = getJsHelperList()
module.exports = {
...helpers,
// pointing stripProtocol to a unexisting function to be able to declare it on isolated-vm
// eslint-disable-next-line no-undef
stripProtocol: helpersStripProtocol,
}