uploadthing icon indicating copy to clipboard operation
uploadthing copied to clipboard

Strip dev deps from packages during build

Open t3dotgg opened this issue 2 years ago • 1 comments

Obnoxious but so is yarn

t3dotgg avatar May 10 '23 21:05 t3dotgg

Is it just about moving dev dependencies to "devDependencies" in package.json? 🤔

ybrusentsov avatar May 11 '23 09:05 ybrusentsov

This is about removing the devDeps from the package json that is output to the npm registry.

Ie the published package should have a different package json from the one used in dev.

markflorkowski avatar Jun 09 '23 20:06 markflorkowski

Closing per https://discord.com/channels/966627436387266600/1102510616326967306/1121074325978611793

markflorkowski avatar Jun 22 '23 14:06 markflorkowski