Skip to content

Commit

Permalink
Merge pull request #145 from perfsee/fix/typo
Browse files Browse the repository at this point in the history
fix(plugin-utils): options typo
  • Loading branch information
yiliuliuyi committed Oct 13, 2022
2 parents dd1b4ec + 4bbeb95 commit d9acf02
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/docs/bundle/plugin-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ interface Options {
/**
* Server options used to start local report viewer
*/
severOptions?: {
serverOptions?: {
/**
* Port the local report server will listen on
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ type Options = {
/**
* 用于本地分析结果展示的服务配置。
*/
severOptions?: {
serverOptions?: {
/**
* 本地报告服务监听的端口
*
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/esbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface Options {
/**
* Server options used to start local report viewer
*/
severOptions?: {
serverOptions?: {
/**
* Port the local report server will listen on
*
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rollup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ interface Options {
/**
* Server options used to start local report viewer
*/
severOptions?: {
serverOptions?: {
/**
* Port the local report server will listen on
*
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/utils/src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export interface CommonPluginOptions {
/**
* Server options used to start local report viewer
*/
severOptions?: ServerOptions
serverOptions?: ServerOptions

/**
* Authentication token used for uploading build to remote server.
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/utils/src/reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function generateReports(stats: PerfseeReportStats, outputPath: str
report: report,
content: moduleTree,
},
options.severOptions,
options.serverOptions,
)
}
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ interface Options {
/**
* Server options used to start local report viewer
*/
severOptions?: {
serverOptions?: {
/**
* Port the local report server will listen on
*
Expand Down
2 changes: 1 addition & 1 deletion tools/webpack/frontend-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function getFrontendConfig() {
}),
new PerfseePlugin({
project: 'perfsee',
severOptions: {
serverOptions: {
publicPath: getPackage('@perfsee/plugin-utils').relative('public'),
},
}),
Expand Down

0 comments on commit d9acf02

Please sign in to comment.