Skip to content

Commit 0202f61

Browse files
committed
d
1 parent 1d2c1f3 commit 0202f61

5 files changed

Lines changed: 3 additions & 20 deletions

File tree

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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)

TRANSPILATION.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,11 @@ See
2525
pages/bash/xx/xx.node.cjs
2626
that 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
3330
modify bundle.sh to take *.entry.ts too
3431

35-
remove esbuild-entries.js
32+
3633

3734

3835

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

es.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

xx.cjs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -272,19 +272,6 @@ node esbuild-entries.js
272272
description: `
273273
Finds all /**/*.entry.{js,jsx} and process them to /dist/[name].bundle.js
274274
see 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
},

0 commit comments

Comments
 (0)