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