Load
This commit is contained in:
parent
40ae4d1852
commit
b28890b401
|
@ -1,7 +1,8 @@
|
|||
import getJsHelperList from '@budibase/string-templates/js-helpers'
|
||||
import {getJsHelperList} from '@budibase/string-templates/js-helpers'
|
||||
|
||||
|
||||
const helpers = getJsHelperList()
|
||||
module.exports = {
|
||||
export default {
|
||||
...helpers,
|
||||
// pointing stripProtocol to a unexisting function to be able to declare it on isolated-vm
|
||||
// @ts-ignore
|
||||
|
|
|
@ -12,8 +12,7 @@
|
|||
"import": "./dist/bundle.mjs"
|
||||
},
|
||||
"./package.json": "./package.json",
|
||||
"./js-helpers": "./src/index-helpers.js",
|
||||
"./index-helpers": "./dist/index-helpers.bundled.js",
|
||||
"./js-helpers": "./src/helpers/list.js",
|
||||
"./test/utils": "./test/utils.js"
|
||||
},
|
||||
"files": [
|
||||
|
|
|
@ -49,6 +49,7 @@ function runBuild(entry, outfile) {
|
|||
preserveSymlinks: true,
|
||||
loader: {
|
||||
".svelte": "copy",
|
||||
".ivm.bundle.js.txt": "text",
|
||||
},
|
||||
metafile: true,
|
||||
external: [
|
||||
|
@ -60,6 +61,7 @@ function runBuild(entry, outfile) {
|
|||
"bcrypt",
|
||||
"bcryptjs",
|
||||
"graphql/*",
|
||||
"bson"
|
||||
],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue