Aaron
5d2d124e5a
fix: Output main JS file for HTML entrypoints to chunks directory ( #473 )
2024-02-21 08:13:43 -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
bba8cdace1
fix: Exclude analysis files from the build summary ( #425 )
2024-02-05 23:09:30 -06:00
Aaron
bb022646e3
chore: Register global wxt instance ( #418 )
2024-02-04 16:34:10 -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
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
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
Aaron
5acf51af9d
fix: Generate missing sourcemap in wxt:unimport plugin ( #381 )
2024-01-29 10:30:42 -06:00
Aaron
326e84b667
feat: Restart dev mode when saving config ( #365 )
2024-01-19 22:58:49 -06:00
Aaron Klinker
a329e24818
chore: Fix typo in function name
2024-01-12 13:03:43 -06:00
Aaron Klinker
b7cdf1597c
fix: Disable minification during development
...
This closes #328
2024-01-07 10:48:25 -06:00
Aaron
e1f181356c
fix: Correct import in dev-only, noop background ( #298 )
2023-12-24 08:24:53 -06:00
Aaron
ad0e8e4144
fix: Correctly mock webextension-polyfill for Vitest ( #294 )
2023-12-22 22:21:09 -06:00
Aaron
1a8b7ff635
feat: Support PNPM without hoisting dependencies ( #291 )
2023-12-19 11:42:20 -06:00
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
7c02497148
fix: Only use type imports for Vite ( #278 )
2023-12-12 14:24:42 -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