Skip to content

🎥 Make videos programmatically with React

ignore warnings

Jonny Burger5cebbf5b2296
diff --git a/packages/bundler/src/rspack-config.ts b/packages/bundler/src/rspack-config.ts
index 04847d3a97..99b1e37b67 100644
--- a/packages/bundler/src/rspack-config.ts
+++ b/packages/bundler/src/rspack-config.ts
@@ -113,6 +113,11 @@ export const rspackConfig = async ({
optimization: {
minimize: false,
},
+ ignoreWarnings: [
+ /Circular dependency between chunks with runtime/,
+ /Critical dependency: the request of a dependency is an expression/,
+ /"__dirname" is used and has been mocked/,
+ ],
experiments: {
lazyCompilation: isBun
? false