Compile stringtemplates via esbuild
This commit is contained in:
parent
6be7814e55
commit
27bb73f77a
|
@ -19,8 +19,9 @@
|
|||
"manifest.json"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc && rollup -c",
|
||||
"dev": "tsc && rollup -cw",
|
||||
"build:esbuild": "esbuild --minify --bundle src/index-helpers.js --outfile=dist/index-helpers.bundled.js --platform=node --format=esm",
|
||||
"build": "yarn build:esbuild && tsc && rollup -c",
|
||||
"dev": "concurrently \"yarn build:esbuild --watch\" \"tsc && rollup -cw\"",
|
||||
"test": "jest",
|
||||
"manifest": "node ./scripts/gen-collection-info.js"
|
||||
},
|
||||
|
@ -34,6 +35,7 @@
|
|||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^17.1.0",
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"concurrently": "^8.2.2",
|
||||
"doctrine": "^3.0.0",
|
||||
"jest": "29.7.0",
|
||||
"marked": "^4.0.10",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
const { getHelperList } = require("./helpers")
|
||||
|
||||
const helpers = getHelperList()
|
||||
|
||||
module.exports = { helpers }
|
Loading…
Reference in New Issue