Skip to content

Commit 20c3eb9

Browse files
committed
Allow to select visibility on start per item for extra content
1 parent 6c7707c commit 20c3eb9

26 files changed

Lines changed: 45 additions & 27 deletions

File tree

config/webpack.prod.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,10 @@ module.exports = {
165165
],
166166
},
167167
devtool: "source-map", // supposedly the ideal type without bloating bundle size
168+
performance: {
169+
// All JS/CSS is intentionally inlined into a single HTML file for embedded targets.
170+
// The resulting index.html will always exceed webpack's default 244 KiB hint.
171+
maxAssetSize: 512 * 1024,
172+
maxEntrypointSize: 512 * 1024,
173+
},
168174
}

dist/BUNDLE_SIZES.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Generated by `tools/release_bundle_sizes.py`. Use this table in RELEASE_*.md or
44

55
| Target | Subtarget | Size | Bytes | Path |
66
|--------|-----------|------|-------|------|
7-
| CNC | GRBL | 91.1 KB | 93315 | CNC\GRBL\index.html.gz |
8-
| CNC | GRBLHal | 95.8 KB | 98058 | CNC\GRBLHal\index.html.gz |
9-
| Printer3D | Marlin | 97.1 KB | 99428 | Printer3D\Marlin\index.html.gz |
10-
| Printer3D | Marlin-embedded | 96.5 KB | 98835 | Printer3D\Marlin-embedded\index.html.gz |
11-
| Printer3D | Repetier | 95.9 KB | 98201 | Printer3D\Repetier\index.html.gz |
12-
| Printer3D | Smoothieware | 95.5 KB | 97826 | Printer3D\Smoothieware\index.html.gz |
13-
| SandTable | GRBL | 83.3 KB | 85348 | SandTable\GRBL\index.html.gz |
7+
| CNC | GRBL | 91.2 KB | 93368 | CNC\GRBL\index.html.gz; CNC\GRBL\index.html.br |
8+
| CNC | GRBLHal | 95.8 KB | 98112 | CNC\GRBLHal\index.html.gz; CNC\GRBLHal\index.html.br |
9+
| Printer3D | Marlin | 97.1 KB | 99480 | Printer3D\Marlin\index.html.gz; Printer3D\Marlin\index.html.br |
10+
| Printer3D | Marlin-embedded | 96.6 KB | 98879 | Printer3D\Marlin-embedded\index.html.gz; Printer3D\Marlin-embedded\index.html.br |
11+
| Printer3D | Repetier | 96.0 KB | 98253 | Printer3D\Repetier\index.html.gz; Printer3D\Repetier\index.html.br |
12+
| Printer3D | Smoothieware | 95.6 KB | 97875 | Printer3D\Smoothieware\index.html.gz; Printer3D\Smoothieware\index.html.br |
13+
| SandTable | GRBL | 83.4 KB | 85399 | SandTable\GRBL\index.html.gz; SandTable\GRBL\index.html.br |
1414

15-
**Total size (all packages):** 655.3 KB (671011 bytes).
15+
**Total size (all packages):** 1.17 MB (1226172 bytes).

dist/CNC/GRBL/index.html.br

29 Bytes
Binary file not shown.

dist/CNC/GRBL/index.html.gz

53 Bytes
Binary file not shown.

dist/CNC/GRBLHal/index.html.br

169 Bytes
Binary file not shown.

dist/CNC/GRBLHal/index.html.gz

54 Bytes
Binary file not shown.
106 Bytes
Binary file not shown.
44 Bytes
Binary file not shown.
119 Bytes
Binary file not shown.
52 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)