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 {
2323} from 'webpack'
2424import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'
2525import { 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'
2727
2828type CssLoaderUrlFunction = ( url : string , resourcePath : string ) => boolean
2929type CssLoaderImportFunction = ( parsedImport : string , resourcePath : string ) => boolean
@@ -150,7 +150,7 @@ export interface NuxtConfigurationBuild {
150150 filenames ?: { [ key in 'app' | 'chunk' | 'css' | 'img' | 'font' | 'video' ] ?: ( ctx : NuxtWebpackEnv ) => string }
151151 friendlyErrors ?: boolean
152152 hardSource ?: boolean
153- hotMiddleware ?: WebpackHotMiddlewareOptions & { client : any /* TBD */ }
153+ hotMiddleware ?: WebpackHotMiddlewareOptions & { client ?: WebpackHotMiddlewareClientOptions }
154154 html ?: { minify : HtmlMinifierOptions }
155155 indicator ?: boolean
156156 loaders ?: NuxtConfigurationLoaders
Original file line number Diff line number Diff line change 2626 "@types/webpack" : " ^4.41.10" ,
2727 "@types/webpack-bundle-analyzer" : " ^2.13.3" ,
2828 "@types/webpack-dev-middleware" : " ^3.7.0" ,
29- "@types/webpack-hot-middleware" : " ^2.25.0 "
29+ "@types/webpack-hot-middleware" : " ^2.25.1 "
3030 },
3131 "publishConfig" : {
3232 "access" : " public"
Original file line number Diff line number Diff line change 44 "lib" : [" dom" , " esnext" ],
55 "module" : " esnext" ,
66 "moduleResolution" : " node" ,
7- "skipLibCheck" : true ,
87 "esModuleInterop" : true ,
98 "strict" : true ,
109 "noFallthroughCasesInSwitch" : true ,
You can’t perform that action at this time.
0 commit comments