mirror of
https://github.com/tiennm99/miti99bot.git
synced 2026-04-28 06:20:39 +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:
@@ -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