Skip to content

Commit f89cb68

Browse files
felixmosheungyeole
authored andcommitted
add changeset changes
1 parent c6f95d9 commit f89cb68

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.changeset/stupid-sloths-rush.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"rsbuild-plugin-web-extension": major
3+
---
4+
5+
### Breaking Change
6+
7+
The plugin options have been updated. The `manifest` option, which accepted the manifest object directly, has been replaced with `manifestPath`, which accepts a path to the manifest file.
8+
9+
### Features
10+
11+
- **Dynamic Manifests**: You can now use a `.ts` or `.js` file for your manifest. This allows for dynamic generation of the manifest content, using TypeScript types, and importing other modules.
12+
- **Hot Module Replacement (HMR)**: Changes to the manifest file will now trigger a hot reload during development.
13+
- **Developer Experience**: The `writeToDisk` option is now enabled by default in development mode, making it easier to load and test the extension in the browser.

0 commit comments

Comments
 (0)