Commit 2963144
committed
Modernize JavaScript build toolchain
Replace Rollup with Rolldown v1 for bundling (10-30x faster builds).
The new config lives in rolldown.config.mjs and the build script is
updated accordingly.
Replace ESLint + neostandard with Oxlint v1 for linting (50-100x faster).
The new config lives in .oxlintrc.json and is run via `pnpm lint`.
Use `args: none` on no-unused-vars to skip unused function parameters,
which serve as API documentation for callback signatures.
Rename .github/workflows/eslint.yml to lint.yml accordingly.
These choices are informed by ongoing upstream discussions about how
best to align the neostandard and Rollup ecosystems with modern
JavaScript tooling (neostandard/neostandard#350, rollup/plugins#2010).
Drop Babel — transpilation is now handled by Rolldown's built-in Oxc
transforms. The minimum browser targets are unchanged (Chrome 60+,
Firefox 60+, iOS 12+, Safari 12+).
Remove 9 unused npm devDependencies (`@babel/core`, `@babel/preset-env`,
`@rollup/plugin-babel`, `@rollup/plugin-node-resolve`, `eslint`,
`eslint-plugin-compat`, `neostandard`, `rollup`, `rollup-plugin-copy`).
Clean up .gitignore (remove stale !.babelrc negation) and update
Rakefile lint task to call the new `pnpm lint` script instead of
`pnpm eslint`.1 parent 7144c4d commit 2963144
13 files changed
Lines changed: 1868 additions & 2354 deletions
File tree
- .github/workflows
- dist
- vendor/assets/javascripts
This file was deleted.
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments