File tree Expand file tree Collapse file tree 4 files changed +810
-736
lines changed Expand file tree Collapse file tree 4 files changed +810
-736
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import {
23
23
} from 'webpack'
24
24
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
25
25
import { Options as WebpackDevMiddlewareOptions } from 'webpack-dev-middleware'
26
- import { Options as WebpackHotMiddlewareOptions } from 'webpack-hot-middleware'
26
+ import { MiddlewareOptions as WebpackHotMiddlewareOptions , ClientOptions as WebpackHotMiddlewareClientOptions } from 'webpack-hot-middleware'
27
27
28
28
type CssLoaderUrlFunction = ( url : string , resourcePath : string ) => boolean
29
29
type CssLoaderImportFunction = ( parsedImport : string , resourcePath : string ) => boolean
@@ -150,7 +150,7 @@ export interface NuxtConfigurationBuild {
150
150
filenames ?: { [ key in 'app' | 'chunk' | 'css' | 'img' | 'font' | 'video' ] ?: ( ctx : NuxtWebpackEnv ) => string }
151
151
friendlyErrors ?: boolean
152
152
hardSource ?: boolean
153
- hotMiddleware ?: WebpackHotMiddlewareOptions & { client : any /* TBD */ }
153
+ hotMiddleware ?: WebpackHotMiddlewareOptions & { client ?: WebpackHotMiddlewareClientOptions }
154
154
html ?: { minify : HtmlMinifierOptions }
155
155
indicator ?: boolean
156
156
loaders ?: NuxtConfigurationLoaders
Original file line number Diff line number Diff line change 26
26
"@types/webpack" : " ^4.41.10" ,
27
27
"@types/webpack-bundle-analyzer" : " ^2.13.3" ,
28
28
"@types/webpack-dev-middleware" : " ^3.7.0" ,
29
- "@types/webpack-hot-middleware" : " ^2.25.0 "
29
+ "@types/webpack-hot-middleware" : " ^2.25.1 "
30
30
},
31
31
"publishConfig" : {
32
32
"access" : " public"
Original file line number Diff line number Diff line change 4
4
"lib" : [" dom" , " esnext" ],
5
5
"module" : " esnext" ,
6
6
"moduleResolution" : " node" ,
7
- "skipLibCheck" : true ,
8
7
"esModuleInterop" : true ,
9
8
"strict" : true ,
10
9
"noFallthroughCasesInSwitch" : true ,
You can’t perform that action at this time.
0 commit comments