1940s.nyc icon indicating copy to clipboard operation
1940s.nyc copied to clipboard

Replace custom SVG loader with SVGR

Open jboolean opened this issue 4 months ago • 2 comments

Summary

  • replace the bespoke svg-component-loader with @svgr/webpack and configure webpack to hand off SVG imports to the new loader while keeping ?asset URLs working
  • add @svgr/webpack as a dev dependency and refresh the lockfile, including correcting the json5 2.2.3 integrity metadata so installs succeed

Testing

  • npm run lint (fails: existing @typescript-eslint unsafe any/member access violations throughout src)
  • npm audit --omit=dev

https://chatgpt.com/codex/tasks/task_e_68ed5a3ca5b8832987adb9f352da40ea

jboolean avatar Oct 13 '25 20:10 jboolean