1
0
Fork 0
mirror of synced 2024-07-30 10:36:28 +12:00

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" "@budibase/backend-core"
], ],
"target": "build" "target": "build"
},
{
"projects": [
"@budibase/string-templates"
],
"target": "build:esbuild"
} }
] ]
}, },
@ -191,16 +185,6 @@
"target": "build" "target": "build"
} }
] ]
},
"test": {
"dependsOn": [
{
"projects": [
"@budibase/string-templates"
],
"target": "build:esbuild"
}
]
} }
} }
} }

View file

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