Skip to content

Commit 7c00aaf

Browse files
committed
perf: ⚡️ decrease bundle size
Closes: #6
1 parent e14eb64 commit 7c00aaf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.cspell.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"tfjs",
1919
"tmpdir",
2020
"typeof",
21-
"vercel"
21+
"vercel",
22+
"webgl"
2223
],
2324
"ignorePaths": [
2425
"**/.cspell.json",

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ jobs:
5454
# https://stackoverflow.com/a/35589472
5555
run: |
5656
npm install --build-from-source @tensorflow/tfjs-node@${{ matrix.tensorflow }}
57+
npx [email protected] -n default:caution --no-progress --run
58+
rm -rf node_modules/@tensorflow/tfjs-backend-webgl
59+
rm -rf node_modules/@tensorflow/tfjs-converter
5760
5861
- name: Compile
5962
id: compile

0 commit comments

Comments
 (0)