Aaron
de7dd09f60
fix: Improve dev mode for content scripts registered at runtime ( #474 )
2024-02-22 11:52:37 -06:00
Aaron
1649785826
fix(storage)!: Only run migrations when the extension is updated ( #478 )
2024-02-22 11:46:59 -06:00
Aaron Klinker
91fc41cb15
docs(storage): Update docs
2024-02-22 11:46:59 -06:00
Aaron
9c80ad832b
feat(storage)!: Improved support for default values on storage items ( #477 )
2024-02-22 11:46:48 -06:00
Aaron
5d2d124e5a
fix: Output main JS file for HTML entrypoints to chunks directory ( #473 )
2024-02-21 08:13:43 -06:00
Aaron
b256939cc4
fix: Respect configFile option ( #472 )
2024-02-20 14:30:21 -06:00
Aaron
c46137644b
feat: Customize when content scripts are registered, in the manifest or at runtime ( #471 )
2024-02-20 14:18:53 -06:00
Aaron
1bd7ef56c4
fix: Don't assume react when importing JSX entrypoints during build ( #470 )
2024-02-20 13:53:00 -06:00
Aaron
223ede9ff9
feat: Support setting side panel options in HTML file ( #468 )
2024-02-20 08:14:34 -06:00
Aaron
9d31a4eba1
chore: Simplify entrypoint types ( #464 )
2024-02-19 16:17:54 -06:00
okou
ea0e40c269
fix: Fix order of ShadowRootUI hooks calling ( #459 )
2024-02-19 07:45:57 -06:00
Aaron
c275ccf0da
fix: Watch files outside project root during development ( #454 )
2024-02-15 14:23:32 -06:00
Aaron
c6817479bd
feat: Generate ESLint globals file for auto-imports ( #450 )
2024-02-15 10:14:57 -06:00
lionelhorn
6d526e7043
feat: Add option to customize the analysis artifacts output ( #431 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2024-02-10 04:26:33 -06:00
Aaron Klinker
6b8dfdf02d
chore: Enable skipped test since it works now
2024-02-10 03:01:38 -06:00
okou
ba85fdf470
fix: Use insertBefore on mounting content script UI
2024-02-10 03:01:38 -06:00
okou
295f8601e3
refactor: Use Element.prepend on mounting UI
2024-02-10 03:01:38 -06:00
Aaron Klinker
d0f1c7065c
chore: Fix fake path in test data generator
2024-02-05 23:17:14 -06:00
Aaron
3edb66d76d
feat: Add option to customize the analysis output filename ( #426 )
2024-02-05 23:15:15 -06:00
Aaron
bba8cdace1
fix: Exclude analysis files from the build summary ( #425 )
2024-02-05 23:09:30 -06:00
Aaron
22f82a67ee
feat: Automatically convert MV3 web_accessible_resources to MV2 ( #423 )
2024-02-05 22:49:18 -06:00
Aaron
b32c60ca73
fix: Don't use immer for transformManifest ( #424 )
2024-02-05 22:37:26 -06:00
Aaron
21636defda
feat: Hooks ( #419 )
...
Deprecated `transformManifest` since a hook now exists for it.
2024-02-04 17:37:31 -06:00
Aaron
bb022646e3
chore: Register global wxt instance ( #418 )
2024-02-04 16:34:10 -06:00
Aaron Klinker
37ad2c7ceb
fix(init): Use ungh to prevent rate limits when loading templates
2024-02-04 14:11:41 -06:00
Aaron
66bd957ee0
fix: Don't crash background service worker when using import.meta.url ( #402 )
2024-02-03 14:57:34 -06:00
Aaron
eca30296a7
feat!: ESM background support ( #398 )
...
BREAKING CHANGE: The build output has changed slightly. This isn't a huge deal, and no steps are required for users unless you're doing something weird with the output files after a build.
Before:
```
.output/
<target>/
chunks/
popup-<hash>.js
popup.html
```
After:
```
.output/
<target>/
popup.html
popup.js
```
This applies for all HTML files, not just the popup.
2024-02-02 10:17:43 -06:00
Aaron
2af8d28b82
fix(dev): Reload <name>/index.html entrypoints properly on save ( #390 )
2024-01-31 08:50:23 -06:00
Aaron
26e30aaae9
feat: Add submit command ( #370 )
2024-01-30 12:55:17 -06:00
Nenad Novaković
6557dfe430
fix(dev): Resolve script and link aliases ( #387 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2024-01-30 12:05:31 -06:00
Aaron
dd7abddb7c
feat: Allow passing custom preferences to chrome, enabling dev mode on chrome://extensions and allowing content script sourcemaps automatically ( #384 )
2024-01-29 13:58:46 -06:00
Aaron
6f901b32eb
fix: Enable inline sourcemaps by default during development ( #382 )
2024-01-29 11:15:57 -06:00
Aaron
927aca612e
fix!: Move browser constants to import.meta.env ( #380 )
...
BREAKING CHANGE: Renamed undocumented constants:
- `__BROWSER__` → `import.meta.env.BROWSER`
- `__COMMAND__` → `import.meta.env.COMMAND`
- `__MANIFEST_VERSION__` → `import.meta.env.MANIFEST_VERSION`
- `__IS_CHROME__` → `import.meta.env.CHROME`
- `__IS_FIREFOX__` → `import.meta.env.FIREFOX`
- `__IS_SAFARI__` → `import.meta.env.SAFARI`
- `__IS_EDGE__` → `import.meta.env.EDGE`
- `__IS_OPERA__` → `import.meta.env.OPERA`
2024-01-29 11:14:18 -06:00
Nenad Novaković
2dcdae91eb
feat(zip)!: add includeSources and rename ignoredSources to excludeSources ( #378 )
...
Co-authored-by: Aaron <aaronklinker1@gmail.com >
BREAKING CHANGE: Renamed `ignoredSources` to `excludeSources`
2024-01-29 11:13:39 -06:00
Aaron
5acf51af9d
fix: Generate missing sourcemap in wxt:unimport plugin ( #381 )
2024-01-29 10:30:42 -06:00
Aaron Klinker
f9718a1b71
docs: Fix typo
2024-01-28 09:42:45 -06:00
Aaron Klinker
35865adcb2
fix(storage): Throw better error message when importing outside a extension environment
...
This closes #371
2024-01-27 00:26:35 -06:00
Aaron Klinker
3b63a51475
fix: Improve error messages when importing and building entrypoints
2024-01-27 00:20:48 -06:00
Aaron
87267347f3
feat: Add basic validation for entrypoint options ( #368 )
2024-01-24 00:31:05 -06:00
Aaron
326e84b667
feat: Restart dev mode when saving config ( #365 )
2024-01-19 22:58:49 -06:00
Aaron
9ace395e11
fix: Add subdependency bin directory so wxt build --analyze works with PNPM ( #363 )
2024-01-19 11:32:18 -06:00
Aaron
a525d786f1
feat: Add dev.reloadCommand config ( #362 )
2024-01-19 08:33:03 -06:00
Aaron
948ee810da
fix: Disable reload dev command when 4 commands are already registered ( #361 )
2024-01-19 07:47:04 -06:00
Aaron
148c0da51f
chore: Add unit tests for passing flags via the CLI ( #354 )
2024-01-18 14:49:35 -06:00
Yuns
54e24652da
fix: Make getArrayFromFlags result can be undefined ( #352 )
2024-01-16 23:15:18 -06:00
Yuns
460667e3c0
feat: Add filterEntrypoints option to speed up development ( #344 )
...
Co-authored-by: Aaron Klinker <aaronklinker1@gmail.com >
2024-01-16 13:52:58 -06:00
Aaron
971daf2784
fix: Allow browser.runtime.getURL to include hashes and query params for HTML paths ( #350 )
2024-01-16 12:59:38 -06:00
Aaron
89d8ef9a50
fix: Improve error message and document use of imported variables outside an entrypoint's main function ( #346 )
2024-01-14 09:36:22 -06:00
Aaron Klinker
a329e24818
chore: Fix typo in function name
2024-01-12 13:03:43 -06:00
Aaron
249cf63da8
perf: Only call findEntrypoint once per build ( #342 )
2024-01-12 13:02:44 -06:00