Aaron
fde488ac82
feat!: Add support for "main world" content scripts ( #284 )
...
BREAKING CHANGE: `defineContentScript` and `defineBackground` are now exported from `wxt/sandbox` instead of `wxt/client`. If you use auto-imports, no changes are required. If you have disabled auto-imports, you'll need to manually update your import statements.
2023-12-13 15:41:39 -06:00
Aaron
0873c24ad8
chore: Convert WXT CLI to an ESM binary ( #279 )
2023-12-12 14:44:04 -06:00
Aaron
7c02497148
fix: Only use type imports for Vite ( #278 )
2023-12-12 14:24:42 -06:00
Aaron
f1cf866fe1
fix: Improve duplicate entrypoint name detection and catch the error before loading their config ( #276 )
2023-12-12 13:22:09 -06:00
Aaron
d92a126489
fix: Discover .js, .jsx, and .tsx unlisted scripts correctly ( #274 )
2023-12-12 12:24:38 -06:00
Aaron
21cf3642cb
docs: Improve content script UI docs ( #268 )
2023-12-09 23:36:35 -06:00
Aaron
8786aa91b3
feat: Add util for detecting URL changes in content scripts ( #264 )
2023-12-07 13:29:33 -06:00
Aaron
1a39a0d153
feat!: Vite 5 support ( #261 )
2023-12-06 11:18:52 -06:00
Aaron
f922648dd7
chore: Abstract vite from WXT's core logic ( #242 )
2023-12-05 16:55:22 -06:00
Aaron
397e9a8b45
feat: Add config to customize outDir ( #258 )
2023-12-04 09:50:24 -06:00
Aaron
df13b9705c
fix(auto-imports): Don't add imports to node_module dependencies ( #247 )
2023-11-28 12:15:05 -06:00
Aaron Klinker
317b1b6dcc
docs: Fix typo
2023-11-27 09:57:09 -06:00
Aaron
93175a6477
chore: Use defu for merging some config objects ( #243 )
2023-11-26 12:23:10 -06:00
Aaron
60d6707b11
chore: Use normalize-path instead of vite.normalizePath ( #244 )
2023-11-26 11:36:42 -06:00
Aaron Klinker
82ed821eb5
fix: Apply mode option to build steps correctly
2023-11-20 13:47:18 -06:00
Aaron Klinker
3da3e07bda
fix: Remove WXT global to remove unused modules from production builds
2023-11-16 11:35:20 -06:00
Aaron
d2cb8f9416
feat: Add wxt/storage API ( #234 )
2023-11-14 23:07:45 -06:00
Nenad Novaković
046a4809d3
feat!: Allow plural directory and only png's for manifest icons ( #237 )
...
BREAKING CHANGE: No longer discover icons with extensions other than `.png`. If you previously used `.jpg`, `.jpeg`, `.bmp`, or `.svg`, you'll need to convert your icons to `.png` files or manually add them to the manifest inside your `wxt.config.ts` file.
2023-11-14 23:07:09 -06:00
Aaron
077fa9939e
feat: List bun as an experimental option in wxt init ( #233 )
2023-11-11 15:45:29 -06:00
Aaron
44d715a29e
fix: Don't use bun to load entrypoint config ( #232 )
2023-11-11 14:46:13 -06:00
Aaron
91b28c2cb9
feat: Experimental option to exclude webextension-polyfill ( #231 )
2023-11-11 13:53:47 -06:00
Aaron
281f28192d
fix: Generate valid manifest for Firefox MV3 ( #229 )
2023-11-11 12:22:46 -06:00
Aaron
66e5079b84
feat: Add alias config for customizing path aliases ( #216 )
2023-11-07 11:38:48 -06:00
Aaron
22f8e10918
chore: Remove whitespace from genearted .wxt files ( #211 )
2023-11-04 12:28:31 -05:00
yyyanghj
6641ffaeed
fix!: Remove lib from .wxt/tsconfig.json ( #209 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2023-11-04 10:50:52 -05:00
Aaron
fcdf0dcbe9
feat: createContentScriptIframe utility ( #206 )
2023-11-03 09:31:16 -05:00
Aaron
0bf4ea0897
chore(deps): Upgrade vite to 4.5.0 ( #202 )
2023-11-02 10:24:50 -05:00
Aaron Klinker
b75c553e51
fix: Inline WXT modules inside WxtVitest plugin
2023-10-30 10:25:22 -05:00
Aaron
5f54b4de17
chore: Reduce package size by 70%, 1.92 MB to 590 kB ( #190 )
2023-10-29 23:00:10 -05:00
Aaron
e37f73880d
feat: Refactor project structure to export initialize, prepare, and zip functions ( #182 )
2023-10-29 21:19:31 -05:00
Aaron
5a70d9e57d
fix: Allow actions without a popup ( #181 )
2023-10-20 10:20:40 -05:00
Aaron
874a531a62
feat: Add testing utils under wxt/testing ( #178 )
2023-10-18 16:28:26 -05:00
Aaron
b6758ca9fa
fix(firefox): Stop extending AbortController to fix crash in content scripts ( #176 )
2023-10-17 15:33:55 -05:00
Aaron
2672308946
chore: Improve output consistency ( #175 )
2023-10-16 11:00:33 -05:00
Aaron Klinker
6a93f20bb3
fix: Output action.browser_style correctly
2023-10-16 09:20:40 -05:00
Aaron
527600031f
docs: Generate full API docs with typedoc ( #174 )
2023-10-14 22:03:23 -05:00
Aaron
44464f914f
feat!: Use defineUnlistedScript to define unlisted scripts ( #167 )
...
BREAKING CHANGE: Unlisted scripts must now `export default defineUnlistedScript(...)`
2023-10-14 10:06:52 -05:00
Aaron Klinker
446f265b6c
types!: Rename BackgroundScriptDefintition to BackgroundDefinition
2023-10-14 09:41:07 -05:00
Aaron
8b74291d18
fix: Add browser_style to popup options ( #165 )
2023-10-13 18:06:40 -05:00
Aaron
739b738100
fix: Ignore non-manifest fields when merging content script entries ( #164 )
2023-10-13 18:01:13 -05:00
Aaron
95442dd39b
fix: More consistent version_name generation between browsers ( #163 )
2023-10-13 17:37:08 -05:00
Aaron
d200c376f8
fix: Support react-refresh when pre-rendering HTML pages in dev mode ( #158 )
2023-10-11 10:52:48 -05:00
Aaron
da1f7f3ea5
feat: Support JS entrypoints ( #155 )
2023-10-07 09:53:47 -05:00
Aaron
868fd27804
feat: Allow customizing entrypoint options per browser ( #154 )
2023-10-05 17:12:20 -05:00
Aaron Klinker
d9fdcb5b33
fix: Add missing persistent type to defineBackgroundScript
2023-10-05 16:08:03 -05:00
Aaron Klinker
580793158f
fix: Default safari to MV2
2023-10-05 16:07:20 -05:00
Aaron
c9028dd335
docs: Restructure website to improve UX ( #149 )
2023-10-02 09:42:46 -05:00
Aaron
4150e42c05
feat: createContentScriptUi helper ( #143 )
2023-09-30 21:57:57 -05:00
Aaron
725ecf7c64
fix: Reorder typescript paths to give priority to @ and ~ over @@ and ~~ ( #142 )
2023-09-30 12:33:33 -05:00
Aaron
3847092df4
feat: Content script cssInjectionMode ( #141 )
2023-09-30 12:32:00 -05:00