| name | framework |
|---|---|
| description | Use for Rollup build, browser-safe validation, and bundler compatibility in contentstack-typescript. |
- Changing Rollup plugins, bundle splits, or
dist/layout - Debugging issues specific to browser, Next.js, Vite, or other bundlers
- Production build:
npm run build:rollup(high Node memory options may apply—seepackage.json). - Declaration files:
npm run build:types(tscwithconfig/tsconfig.decl-esm.json).
npm run validate:browserchecks browser-safe assumptions.test/bundlers/validates multiple toolchains—run./validate-all.shornpm run validate:bundlersafter dependency or export map changes.
- Consumers import from
@contentstack/delivery-sdk—verify bothimportandrequirepaths after changingexports.