javascript
द्वारा contentstack
Babel प्रीसेट्स, Webpack कॉन्फ़िग्स, और contentstack-marketplace-sdk में मल्टी-टार्गेट बिल्ड्स के लिए उपयोग करें।
npx skills add https://github.com/contentstack/contentstack-marketplace-sdk --skill javascriptJavaScript tooling – contentstack-marketplace-sdk
When to use
- Editing
webpack/*.jsor Babel envs (es5,es-modules,test) - Debugging environment-specific bundles (Node vs browser vs RN)
Instructions
Babel
- Builds use
BABEL_ENV(es5,es-modules,test)—ensure new syntax is transpiled for the oldest supported runtime of each target.
Webpack
- Separate configs per platform (
webpack.node.js,webpack.web.js, etc.)—keep shared settings DRY viawebpack-mergewhere the repo already does.
Types
- TypeScript definitions live under
types/—update when public JS surface changes.