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

Firefox addon's file size limit #13

Closed
ergofriend opened this issue Oct 14, 2024 · 1 comment · Fixed by #14
Closed

Firefox addon's file size limit #13

ergofriend opened this issue Oct 14, 2024 · 1 comment · Fixed by #14

Comments

@ergofriend
Copy link
Owner

ergofriend commented Oct 14, 2024

CleanShot 2024-10-15 at 00 04 42@2x

CleanShot 2024-10-15 at 00 04 42@2x

File is too large to parse.
Error: This file is not binary and is too large to parse. Files larger than 4MB will not be parsed. Consider moving large lists of data out of JavaScript files and into JSON files, or splitting very large files into smaller ones.

Source

https://github.com/ergofriend/Quiqsearch/releases/tag/v1.3.0

.output/chrome-mv3/assets/ts.worker-Brk6wN3W.js 6.03 MB

import tsWorker from "monaco-editor/esm/vs/language/typescript/ts.worker?worker"

Related links

@ergofriend
Copy link
Owner Author

Unlike Chrome, Firefox(MV2) has room to loosen CSP, so there is a possibility that it might be possible to solve it with esm.sh?

content_security_policy - Mozilla | MDN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant