mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 12:28:54 +00:00
refactor(loldle): import champions.json directly, drop ESM wrapper
Node 24 + wrangler 4.x both accept `import ... with { type: "json" }`,
so the generated champions-data.js wrapper is no longer needed.
Drop scripts/build-loldle-data.js and the build:loldle-data npm script.
Scraper writes champions.json only.
This commit is contained in:
1 parent
470130195e
commit
b794c25a45
7 files changed
+13
-1916
No files matched your search
@@ -47,6 +47,4 @@ jobs:
|
||||
`attackType`, `region`, `lane`, `releaseDate`).
|
||||
|
||||
Review the diff, merge, then run `npm run deploy` to ship.
|
||||
add-paths: |
|
||||
src/modules/loldle/champions.json
|
||||
src/modules/loldle/champions-data.js
|
||||
add-paths: src/modules/loldle/champions.json
|
||||
Reference in new issue
Block a user