feat: migrate to LiveKit, remove Agora/payment, add domain certs for Caddy
Sync to CNB / sync (push) Has been cancelled
Sync to CNB / sync (push) Has been cancelled
This commit is contained in:
@@ -21,6 +21,8 @@ const ReactRefreshWebpackPlugin = require("@pmmmwh/react-refresh-webpack-plugin"
|
||||
const createEnvironmentHash = require("./webpack/persistentCache/createEnvironmentHash");
|
||||
// Source maps are resource heavy and can cause out of memory issue for large source files.
|
||||
const shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== "false";
|
||||
const shouldAnalyzeBundle =
|
||||
process.env.ANALYZE === "true" || process.env.REACT_APP_ANALYZE_BUNDLE === "true";
|
||||
|
||||
const reactRefreshRuntimeEntry = require.resolve("react-refresh/runtime");
|
||||
const reactRefreshWebpackPluginRuntimeEntry = require.resolve(
|
||||
@@ -404,6 +406,7 @@ module.exports = function (webpackEnv) {
|
||||
isEnvProduction &&
|
||||
!process.env.REACT_APP_RELEASE &&
|
||||
!process.env.REACT_APP_OFFICIAL_DEMO &&
|
||||
shouldAnalyzeBundle &&
|
||||
new BundleAnalyzerPlugin({
|
||||
openAnalyzer: false
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user