SurfSense/surfsense_browser_extension/scripts
API Test Bot 23cc09b1a7 fix(build): add post-build script to fix HTML paths for Chrome extension
- Create scripts/fix-build-paths.js to convert absolute paths to relative
- Update build script to run fix-build-paths.js after plasmo build
- Add build:raw script for raw plasmo build without fix

Problem: Plasmo generates HTML with absolute paths (href="/file.css")
which causes ERR_FILE_NOT_FOUND in Chrome extensions.

Solution: Post-build script replaces /path with ./path
2026-02-04 10:18:20 +07:00
..
fix-build-paths.js fix(build): add post-build script to fix HTML paths for Chrome extension 2026-02-04 10:18:20 +07:00