jump to:all–mastodon–bluesky–lemmy–lobsters–dev–stack–wiki–rss–hn
wwebbit
view: | | |

Tech / everything · hot matching “monorepo”

1 shown · updated 10s ago · read only
  1. package.json exports vs exporting everything in index.js (stackoverflow.com)stack

    11 points by BryceLarkin in stackoverflow.com · 21mo ago · stack comments

    In a monorepo setup, is there a difference between exporting everything through a package.json exports field vs exporting everything in the root index.ts file? // package.json { "exports": { "./theme": "./src/theme.ts" }, } vs. // src/index.ts export { theme } from './theme.js