File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,7 +191,6 @@ The site uses Firebase for authentication and database. Configuration is loaded
191191
192192- ` server.js ` - Local development server (Express + HTTPS/HTTP)
193193- ` esbuild-entries.js ` - Bundles React entry points
194- - ` esbuild-node.sh ` - Bundles Node.js scripts
195194- ` dev-tail.mjs ` - Multiplexes log output during development
196195- ` .github/injector.sh ` - Injects dynamic content during build
197196- ` .github/clicksecure.sh ` - Adds security blocking code (only in CI)
Original file line number Diff line number Diff line change 2525pages/bash/xx/xx.node.cjs
2626that is good example how to override esbuild setup for individual files
2727
28- # esbuild-node.sh
29-
30- There is one more transpiler just for one use case to work with node.
3128
3229# TODO
3330modify bundle.sh to take * .entry.ts too
3431
35- remove esbuild-entries.js
32+
3633
3734
3835
Original file line number Diff line number Diff line change @@ -129,4 +129,4 @@ time /bin/bash .github/sha384.sh
129129
130130/bin/bash pages/typescript/defaults/getconfig.sh
131131
132- /bin/bash es.sh # transpilation of *.ts to *.js - and adding individual output files to .gitignore
132+ /bin/bash es.sh
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ find . -type d \( \
1919 -o -name .opencode \
2020\) -prune \
2121-o -type f \
22- \( -name ' *.ts' -o -name " *.node.cjs" \) \
22+ \( -name ' *.ts' -o -name " *.node.js " -o -name " *.node. cjs" -o -name " *.node.mjs " \) \
2323-print \
2424| NODE_OPTIONS=" " node gitignore.js es.ignore \
2525| DEBUG=true /bin/bash ts.sh es.ts --produce-gitignore --update
Original file line number Diff line number Diff line change @@ -272,19 +272,6 @@ node esbuild-entries.js
272272 description : `
273273Finds all /**/*.entry.{js,jsx} and process them to /dist/[name].bundle.js
274274see more esbuild-entries.js
275- ` ,
276- confirm : false ,
277- } ,
278- [ `esbuild_node` ] : {
279- command : `
280- set -e
281- export NODE_OPTIONS=""
282- /bin/bash esbuild-node.sh
283- ` ,
284- description : `
285- bundles all files "*.node.js" or "*.node.cjs" or "*.node.mjs"
286- and processes it to xx.node.bundled.gitignored.js
287- and then it copies each of xx.node.bundled.gitignored.js to xx.node.bundled.gitignored.cjs right next to it
288275` ,
289276 confirm : false ,
290277 } ,
You can’t perform that action at this time.
0 commit comments