Unverified Commit ff399348 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Remove unused code (#82774)

parent 876f280c
......@@ -2128,7 +2128,7 @@ export default async function getBaseWebpackConfig(
minimized: true,
},
}),
hasAppDir && isClient && new AppBuildManifestPlugin({ dev }),
hasAppDir && isClient && new AppBuildManifestPlugin(),
hasAppDir &&
(isClient
? new ClientReferenceManifestPlugin({
......
......@@ -7,10 +7,6 @@ import {
import { getEntrypointFiles } from './build-manifest-plugin'
import getAppRouteFromEntrypoint from '../../../server/get-app-route-from-entrypoint'
type Options = {
dev: boolean
}
export type AppBuildManifest = {
pages: Record<string, string[]>
}
......@@ -18,12 +14,6 @@ export type AppBuildManifest = {
const PLUGIN_NAME = 'AppBuildManifestPlugin'
export class AppBuildManifestPlugin {
private readonly dev: boolean
constructor(options: Options) {
this.dev = options.dev
}
public apply(compiler: any) {
compiler.hooks.make.tap(PLUGIN_NAME, (compilation: any) => {
compilation.hooks.processAssets.tap(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment