Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Bustad authored and Dale Bustad committed Jan 29, 2021
1 parent 31c6e1e commit 11fc4b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/next/build/webpack/plugins/profiling-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export class ProfilingPlugin {
compiler.hooks.watchRun,
compiler.hooks.watchClose
)

this.traceHookPair(
'webpack-prepare-env',
compiler.hooks.environment,
Expand Down
3 changes: 0 additions & 3 deletions packages/next/server/hot-reloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import { stringify } from 'querystring'
import { Rewrite } from '../lib/load-custom-routes'
import { difference } from '../build/utils'
import { NextConfig } from '../next-server/server/config'
import { Span } from '@opentelemetry/api'

export async function renderScriptError(
res: ServerResponse,
Expand Down Expand Up @@ -140,7 +139,6 @@ function erroredPages(compilation: webpack.compilation.Compilation) {
}

export default class HotReloader {
private span: Span | null
private dir: string
private buildId: string
private middlewares: any[]
Expand Down Expand Up @@ -182,7 +180,6 @@ export default class HotReloader {
this.stats = null
this.serverStats = null
this.serverPrevDocumentHash = null
this.span = null

this.config = config
this.previewProps = previewProps
Expand Down

0 comments on commit 11fc4b7

Please sign in to comment.