Remove bundles from string-templates
This commit is contained in:
parent
f7c16f632b
commit
719062ab2f
3 changed files with 2 additions and 28 deletions
|
@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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,
|
|
||||||
}
|
|
Loading…
Reference in a new issue