Remix Js/V2/Rename Browser Build Directory

1.0.0Last update Sep 3, 2024
by@dfordp

In your remix.config.js, rename browserBuildDirectory to assetsBuildDirectory.

Before

/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
browserBuildDirectory: './public/build',
};

After

/** @type {import('@remix-run/dev').AppConfig} */
module.exports = {
assetsBuildDirectory: './public/build',
};

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now