Fixes DB conflict in prod

This commit is contained in:
pikiou
2021-11-18 17:05:27 +01:00
parent 3d63859412
commit 581393f78e
12 changed files with 856 additions and 817 deletions

View File

@@ -8,7 +8,6 @@ import LoadablePlugin from "@loadable/webpack-plugin"
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer"
export const isDev = process.env.NODE_ENV === "development"
const getStyleLoaders = (isWeb: boolean, isSass?: boolean) => {
let loaders: RuleSetUseItem[] = [
{

View File

@@ -53,6 +53,10 @@ const config: Configuration = {
},
optimization: { minimizer: [new CssMinimizerPlugin()] },
plugins: getPlugins(),
performance: {
maxAssetSize: 512000,
maxEntrypointSize: 512000,
},
}
export default merge(baseConfig(true), config)