@@ -194,7 +194,7 @@ export async function createConfig(
|
||||
new ModuleScopePlugin(
|
||||
[paths.targetSrc, paths.targetDev],
|
||||
[paths.targetPackageJson],
|
||||
) as any,
|
||||
),
|
||||
],
|
||||
alias: {
|
||||
'react-dom': '@hot-loader/react-dom',
|
||||
@@ -286,7 +286,7 @@ export async function createBackendConfig(
|
||||
new ModuleScopePlugin(
|
||||
[paths.targetSrc, paths.targetDev],
|
||||
[paths.targetPackageJson],
|
||||
) as any,
|
||||
),
|
||||
],
|
||||
alias: {
|
||||
'react-dom': '@hot-loader/react-dom',
|
||||
|
||||
Vendored
+1
-1
@@ -54,7 +54,7 @@ declare module 'react-dev-utils/ModuleScopePlugin' {
|
||||
appSrc: string | ReadonlyArray<string>,
|
||||
allowedFiles?: ReadonlyArray<string>,
|
||||
);
|
||||
apply: (compiler: webpack.Compiler) => void;
|
||||
apply: (resolver: any) => void;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user