Module not found: Error: Can't resolve "fs" in webpack 5 browser builds
When webpack 5 targets a browser environment, imports of Node.js core modules such as fs trigger a resolution error if no explicit fallback is configured. This behavior stems from the removal of automatic polyfills for Node.js built-in modules starting in webpack 5, which previously provided implicit shims for node-targeted builds. The presence or absence of