Skip to content

Commit ed2a445

Browse files
felixmosheungyeole
authored andcommitted
feat: add writeToDisk on dev, so it will be possible to load the extension in dev mode
1 parent e7deaaf commit ed2a445

File tree

1 file changed

+3
-0
lines changed
  • packages/rsbuild-plugin-web-extension/src

1 file changed

+3
-0
lines changed

packages/rsbuild-plugin-web-extension/src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ export const pluginWebExtension = ({ manifest }: Options): RsbuildPlugin => ({
5656
js: "src/[name]",
5757
},
5858
},
59+
dev: {
60+
writeToDisk: true
61+
}
5962
});
6063
});
6164

0 commit comments

Comments
 (0)