Skip to content

@builder.io/[email protected]

Compare
Choose a tag to compare
@samijaber samijaber released this 15 Dec 17:28
· 28 commits to main since this release
a0e413a

Patch Changes

  • 669ff5f: - Feature: new webpack plugin:

    const {
      withHydrationOverlayWebpack,
    } = require("@builder.io/react-hydration-overlay/webpack");
    
    /** @type {import('next').NextConfig} */
    const nextConfig = {
      reactStrictMode: true,
      webpack: (config, options) => {
        config = withHydrationOverlayWebpack({
          appRootSelector: "#__next",
          isMainAppEntryPoint: (entryPointName) =>
            !options.isServer &&
            (entryPointName === "pages/_app" || entryPointName === "main-app"),
        })(config);
        return config;
      },
    };
    
    module.exports = nextConfig;