chore: Standardize code, comments and docs on US-English spelling (#2707)

This commit is contained in:
Dermot Duffy
2026-08-23 08:57:41 -07:00
committed by GitHub
parent 965f2b4c9d
commit 03d9df8282
48 changed files with 94 additions and 89 deletions
+7 -6
View File
@@ -46,12 +46,13 @@ export default defineConfig(({ mode }) => {
},
resolve: {
// Same as Vite's default, minus the trailing `jsnext:main` and `jsnext`: an
// early convention for naming an ES module build that `module` replaced.
// `moment` is the one dependency still shipping it, and honouring it hands
// out moment as an ES module, which `vis-timeline`'s CommonJS build cannot
// then use -- causing timeline views to throw an error. Requiring an ES
// module yields the namespace object rather than moment itself.
// Same as Vite's default, minus the trailing `jsnext:main` and `jsnext`:
// an early convention for naming an ES module build that `module`
// replaced. `moment` is the one dependency still shipping it, and
// honoring it hands out moment as an ES module, which `vis-timeline`'s
// CommonJS build cannot then use -- causing timeline views to throw an
// error. Requiring an ES module yields the namespace object rather than
// moment itself.
mainFields: ['browser', 'module'],
},