@webiny/build-tools 0.0.0-unstable.9f53ea597d → 0.0.0-unstable.a4f3e4ea8b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@ import path from "path";
|
|
|
2
2
|
import { pluginTypeCheck } from "@rsbuild/plugin-type-check";
|
|
3
3
|
import { createImportValidatorPlugin } from "../importValidatorPlugin.js";
|
|
4
4
|
|
|
5
|
-
const DEFAULT_WEBINY_INFRA_API_MAX_BUNDLE_SIZE =
|
|
5
|
+
const DEFAULT_WEBINY_INFRA_API_MAX_BUNDLE_SIZE = 6_291_456; // 6 MB
|
|
6
6
|
|
|
7
7
|
export const createRsbuildConfig = async ({ cwd, enforceMaxBundleSize }) => {
|
|
8
8
|
// Must be a dynamic import — see rslibCompile.js for the reason.
|