Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: can't load worker.js in angular #81

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Apr 14, 2024

  1. fix: can't load worker.js in angular

    # 根源
    
    目前 Angular 下无法将 `worker.js` 将文件复制到所需要的目录下,这导致现在有条件下加载文件时会 404 错误。
    
    可以透过 `WORKER_URL` 具体定位文件所在路径。
    
    此类似在非 Vite 下可能都会有类似情况。
    cipchk authored Apr 14, 2024
    Configuration menu
    Copy the full SHA
    7617809 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2024

  1. Configuration menu
    Copy the full SHA
    cc4d703 View commit details
    Browse the repository at this point in the history
  2. Update index.ts

    cipchk authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    fd3770b View commit details
    Browse the repository at this point in the history
  3. Update index.ts

    cipchk authored Jul 9, 2024
    Configuration menu
    Copy the full SHA
    fc8d037 View commit details
    Browse the repository at this point in the history