Repository navigation
Commit 652938e
authored
perf: minify the precompiled options check (#770)
* perf: minify the precompiled options check
Generate src/options.check.js with `schema-utils precompile --minify`, and run the check before loading `schema-utils` on webpack versions without `compiler.validate`. Bump schema-utils to ^4.8.5 and the webpack devDependency to ^5.112.2, the first with the minifier `--minify` uses; the snapshots follow its runtime code.
* test: follow webpack 5.113.0, which embeds asset/source text as written
* test: accept any identifier terser picks1 parent 317e853 commit 652938e
17 files changed
Lines changed: 1450 additions & 1612 deletions
File tree
- .changeset
- src
- test
- __snapshots__
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
0 commit comments