Adds https support; Fixes prod config

This commit is contained in:
pikiou
2021-11-23 22:55:03 +01:00
parent 02be480cca
commit 3ac9c72a8b
8 changed files with 134 additions and 45 deletions

View File

@@ -23,6 +23,9 @@ const getPlugins = () => {
...plugins,
new webpack.HotModuleReplacementPlugin(),
new ReactRefreshWebpackPlugin({ overlay: { sockIntegration: "whm" } }),
new webpack.DefinePlugin({
process: "process/browser",
}),
]
if (!isDev)