1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00

Compile stringtemplates via esbuild

This commit is contained in:
Adria Navarro 2024-01-15 11:01:13 +01:00
parent 6be7814e55
commit 27bb73f77a
3 changed files with 767 additions and 51 deletions

View file

@ -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",

View file

@ -0,0 +1,5 @@
const { getHelperList } = require("./helpers")
const helpers = getHelperList()
module.exports = { helpers }

807
yarn.lock

File diff suppressed because it is too large Load diff