15 Commits

Author SHA1 Message Date
Aaron a0e1b4741e feat(client): Add block and addEventListener utils to ContentScriptContext (#128) 2023-09-26 17:19:56 -05:00
Aaron Klinker 3f260ee777 fix: Disable dev logs in production
This closes #119
2023-09-22 12:05:05 -05:00
Aaron Klinker 1f448d1bf0 feat: Export ContentScriptContext from wxt/client 2023-09-22 11:00:28 -05:00
Aaron 16cebc538f feat: Add ContentScriptContext util for stopping invalidated content scripts (#120) 2023-09-21 18:48:07 -05:00
Aaron a8285fff78 feat: Generate types for browser.i18n.getMessage (#103) 2023-09-05 09:55:55 -05:00
Aaron Klinker 58a84ec253 feat!: Add type safety to browser.runtime.getURL
Entrypoint outputs and files in the public directory are typed properly.
Chunks and other generated files are not typed since they aren't often accessed at runtime.

BREAKING CHANGE: `browser` is now imported from `wxt/browser` instead of `webextension-polyfill`
2023-07-20 13:55:35 -05:00
Aaron Klinker 5b48ae99f4 feat!: Rename defineBackgroundScript to defineBackground
BREAKING CHANGE: Rename `defineBackgroundScript` to `defineBackground`. Update your background entrypoints
2023-07-14 20:03:12 -05:00
Aaron 2efc193b45 fix: Unable to read entrypoint options (#28) 2023-07-10 22:18:20 -05:00
Aaron 249aa5eccc feat: Content scripts reloading (#25) 2023-07-10 17:47:52 -05:00
Aaron 75eb3de89e chore: Rename templates to virtual-modules (#24) 2023-07-02 21:49:01 -05:00
Aaron cd714ea196 feat: Reload HTML files individually (#23) 2023-07-02 21:37:28 -05:00
Aaron 13a713cc28 feat: Setup background script web socket/reload (#22) 2023-07-02 20:00:18 -05:00
Aaron Klinker a78aada96e chore: Refactor build outputs to support transpiled templates 2023-07-02 17:05:23 -05:00
Aaron Klinker 9ab3953810 chore: Refactor folder structure 2023-06-25 21:11:11 -05:00
Aaron Klinker 5b07c95ec7 feat: Export and bootstrap the /client package 2023-06-25 10:53:35 -05:00