We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572ea4b commit 6056dc9Copy full SHA for 6056dc9
packages/rsbuild-plugin-web-extension/src/index.ts
@@ -10,6 +10,8 @@ interface Options {
10
11
const pluginName = "rsbuild:plugin-web-extension";
12
13
+const port = +(process.env.PORT || 3130);
14
+
15
export const pluginWebExtension = ({
16
manifestPath,
17
}: Options): RsbuildPlugin => ({
@@ -80,8 +82,15 @@ export const pluginWebExtension = ({
80
82
js: "src/[name]",
81
83
},
84
85
+ server: {
86
+ port,
87
+ },
88
dev: {
89
writeToDisk: true,
90
+ client: {
91
92
+ host: "localhost",
93
94
95
});
96
0 commit comments