Skip to content

Commit 8e438ff

Browse files
wanghoppeHoppe Wang
andauthored
fix recover window failed to load in prod build (#2927)
Co-authored-by: Hoppe Wang <hoppewang@microsoft.com>
1 parent 198559a commit 8e438ff

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

desktop/config/webpack.config.base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ const baseConfig = {
5656
}),
5757
new CopyWebpackPlugin({
5858
patterns: [
59-
{ context: "src/client/splash-screen", from: "**/*", to: "client/splash-screen" },
59+
{ context: "src/client/splash-screen", from: "**/*.(html|svg)", to: "client/splash-screen" },
60+
{ context: "src/client/recover-window", from: "**/*.(html|svg)", to: "client/recover-window" },
6061
{ context: "src/client/proxy", from: "**/*", to: "client/proxy" },
6162
{ context: "src/client/resources", from: "**/*", to: "client/resources" },
6263
{ context: "src/app/assets", from: "**/*", to: "assets" },

0 commit comments

Comments
 (0)