Projects - My Chrome Extension Series
Features
-
Auto-Tab reordering
-
Idea
-
cross-tab search..?
-
Sidebar Chat with Local LLM?
-
APIs interesting to me
https://developer.chrome.com/docs/extensions/reference/api/storage#description
Tools
-
-
Better to try vite 3?
-
Issues and Tips
-
Ollama: running Vite in production mode fails #4516 - https://github.com/ollama/ollama/issues/4516
-
for error log:
node_modules/ollama/dist/index.mjs (2:13): "promises" is not exported by "__vite-browser-external", imported by "node_modules/ollama/dist/index.mjs".
-
recommends https://github.com/vitejs/vite/discussions/8799#discussioncomment-8191565
-
which means we should hide the non-supported/unused features with polyfills,
-
https://zenn.dev/kra8/articles/c9ed05abb90d60 can be a hint
-
and found https://www.npmjs.com/package/vite-plugin-node-polyfills useful.
-