File tree 4 files changed +5
-31
lines changed
test/integration/app-link-types 4 files changed +5
-31
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ import { regexLikeCss } from './webpack/config/blocks/css'
48
48
import { CopyFilePlugin } from './webpack/plugins/copy-file-plugin'
49
49
import { FlightManifestPlugin } from './webpack/plugins/flight-manifest-plugin'
50
50
import { FlightClientEntryPlugin } from './webpack/plugins/flight-client-entry-plugin'
51
- import { FlightTypesPlugin } from './webpack/plugins/flight -types-plugin'
51
+ import { NextTypesPlugin } from './webpack/plugins/next -types-plugin'
52
52
import type {
53
53
Feature ,
54
54
SWC_TARGET_TRIPLE ,
@@ -2177,7 +2177,7 @@ export default async function getBaseWebpackConfig(
2177
2177
} ) ) ,
2178
2178
hasAppDir &&
2179
2179
! isClient &&
2180
- new FlightTypesPlugin ( {
2180
+ new NextTypesPlugin ( {
2181
2181
dir,
2182
2182
distDir : config . distDir ,
2183
2183
appDir,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { WEBPACK_LAYERS } from '../../../lib/constants'
6
6
import { normalizeAppPath } from '../../../shared/lib/router/utils/app-paths'
7
7
import { isDynamicRoute } from '../../../shared/lib/router/utils'
8
8
9
- const PLUGIN_NAME = 'FlightTypesPlugin '
9
+ const PLUGIN_NAME = 'NextTypesPlugin '
10
10
11
11
interface Options {
12
12
dir : string
@@ -191,7 +191,7 @@ declare module 'next' {
191
191
}`
192
192
}
193
193
194
- export class FlightTypesPlugin {
194
+ export class NextTypesPlugin {
195
195
dir : string
196
196
distDir : string
197
197
appDir : string
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ import {
79
79
import { getDefineEnv } from '../../build/webpack-config'
80
80
import loadJsConfig from '../../build/load-jsconfig'
81
81
import { formatServerError } from '../../lib/format-server-error'
82
- import { pageFiles } from '../../build/webpack/plugins/flight -types-plugin'
82
+ import { pageFiles } from '../../build/webpack/plugins/next -types-plugin'
83
83
import {
84
84
DevRouteMatcherManager ,
85
85
RouteEnsurer ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments