Skip to content

Commit

Permalink
Disable the functions manifest plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Mar 8, 2022
1 parent c130fd6 commit 4183f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/next/build/webpack-config.ts
Expand Up @@ -44,7 +44,6 @@ import { regexLikeCss } from './webpack/config/blocks/css'
import { CopyFilePlugin } from './webpack/plugins/copy-file-plugin'
import { FlightManifestPlugin } from './webpack/plugins/flight-manifest-plugin'
import { TelemetryPlugin } from './webpack/plugins/telemetry-plugin'
import FunctionsManifestPlugin from './webpack/plugins/functions-manifest-plugin'
import type { Span } from '../trace'
import { getRawPageExtensions } from './utils'
import browserslist from 'next/dist/compiled/browserslist'
Expand Down Expand Up @@ -1449,14 +1448,6 @@ export default async function getBaseWebpackConfig(
// replacement is done before its process.env.* handling
(!isServer || isEdgeRuntime) &&
new MiddlewarePlugin({ dev, isEdgeRuntime }),
process.env.ENABLE_FILE_SYSTEM_API === '1' &&
isEdgeRuntime &&
new FunctionsManifestPlugin({
dev,
pagesDir,
isEdgeRuntime,
pageExtensions: config.pageExtensions,
}),
!isServer &&
new BuildManifestPlugin({
buildId,
Expand Down
@@ -1,3 +1,5 @@
// TODO: rewrite against the stable edge functions standard

import { relative } from 'path'
import { sources, webpack5 } from 'next/dist/compiled/webpack/webpack'
import { normalizePagePath } from '../../../server/normalize-page-path'
Expand Down

0 comments on commit 4183f6d

Please sign in to comment.