{"_id":"@commerce-klaus/babel-plugin-sfcc-modules","_rev":"7-d0b7de0a52e8f1bb07d73b5e71548b7b","name":"@commerce-klaus/babel-plugin-sfcc-modules","dist-tags":{"latest":"1.2.0"},"versions":{"0.0.0":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"0.0.0","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":{"name":"Jens Simon","email":"https://github.com/jenssimon"},"license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@0.0.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/babel-plugin-sfcc-modules#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"fdac800bec4dd2e73ebc47b65dedc7576879755c","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-0.0.0.tgz","fileCount":7,"integrity":"sha512-3kXU4+n12wEvmnrUpyrKJvzy/FcIDGcTbkkAm6irEcudCQ/hiTG3hMixITdZE1Mz/c/FXDjamymuSaJhupbRiw==","signatures":[{"sig":"MEYCIQCtGORHYqjqI73eAUvwUeqB4DJCckNhxo7dffneoAq8dAIhAP+YxC2o9A8HBt6zSCwmc0WqV/n+f5255G2zBclVXi8K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12580},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"gitHead":"bb230e530a2164bb44e78b0fa3e91c6387dc4ae7","scripts":{"test":"vp test","build":"vp pack","check":"vp check","prepublishOnly":"vp run build"},"_npmUser":{"name":"jenssimon","email":"jens.simon80@googlemail.com"},"repository":{"url":"git+https://github.com/commerce-klaus/commerce-klaus.git","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"_npmVersion":"11.16.0","description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^7.29.0","@babel/runtime":"^7.29.2","imports-visitor":"^2.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"pnpm@11.9.0","devDependencies":{"vite-plus":"latest","typescript":"^6.0.3","@babel/core":"^7.29.0","@types/node":"^25.6.0","@babel/register":"^7.28.6","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_0.0.0_1782730786739_0.9086846008203391","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"1.0.0","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.0.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/babel-plugin-sfcc-modules#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"88b3faba06d31b8fc5ef8671da604c265cf75ead","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.0.0.tgz","fileCount":7,"integrity":"sha512-PtZq41B6JH0xLY+Y6HEPYalhw5I2cdLs6sj0JksdGlNHjvxZywDn5LlgZXueuQ/Ms7ZrTbKBPtCoF7v9SpTR6Q==","signatures":[{"sig":"MEYCIQCIPkI4RNkNXb7W1zFWU5QDFKN/OxA5j3xEpVTijXNYHQIhAMMIrVRGZ9Qk9Z3kuTLDpGsggXvzGzyJpb3GZ4YdbFF2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12576},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^7.29.0","@babel/runtime":"^7.29.2","imports-visitor":"^2.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^6.0.3","@babel/core":"^7.29.0","@types/node":"^25.6.0","@babel/register":"^7.28.6","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_1.0.0_1782741991445_0.4700259112890688","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"1.0.1","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.0.1","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/babel-plugin-sfcc-modules#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"1019b9e35ec1319013223e0a4469dcdd4871bfdc","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.0.1.tgz","fileCount":7,"integrity":"sha512-74GNJhvGbnVuXRuGrFfY0oEAyTgAtPrLHQ7NEU42bF5BMbxBS0cAg5mO96JMrdgqGjckDWhJGOLCpjUiC6VM3g==","signatures":[{"sig":"MEUCIQClnBBHgOZojKm4eRJFWwiNfqGQkVEWDhsxST0BxzBhpQIgX+zARV0/kPrYW1ZIzbCMzQcf9v8iWFBuT4iRzFj4CPY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14045},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.0","@babel/runtime":"^8.0.0","imports-visitor":"^2.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^6.0.3","@babel/core":"^8.0.0","@types/node":"^25.6.0","@babel/register":"^8.0.0","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_1.0.1_1783500709826_0.7226901393668745","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"1.0.2","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.0.2","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/babel-plugin-sfcc-modules#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"140e94803f786e2918bf749aa6aa4174a81dc41f","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.0.2.tgz","fileCount":7,"integrity":"sha512-pSI0TXb2s1UHMz14OUoAB04iffxEPP/OcKqKP80S8NfylDzvuTa8Kkp6HM+DwdL1jcW09nBHrj3+T+PLKx9WAA==","signatures":[{"sig":"MEUCIBpxvAXAUYZm3A5IzFodF2Hrpt6T8c/JqaMbk6ZAAaoJAiEA0nEqkqg3QiR7boRCRctEtn43dGPrctQE3evQtedNNmk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12843},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@babel/types":"^8.0.0","@babel/runtime":"^8.0.0","imports-visitor":"^2.1.0","@commerce-klaus/sfcc-module-resolver":"1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^7.0.0","@babel/core":"^8.0.0","@types/node":"^25.6.0","@babel/register":"^8.0.0","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_1.0.2_1783942089970_0.2849518640884565","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"1.1.0","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.1.0","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://github.com/commerce-klaus/commerce-klaus/tree/main/packages/babel-plugin-sfcc-modules#readme","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"eeba7fdaa8b8fb078a3813e950b01f015862aa87","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.1.0.tgz","fileCount":7,"integrity":"sha512-2wCGpvY0vHPCsw/ZLpEqCUEzU9pCgt8vCIxRHhVfH+9LMkOa8r9cydopB/FkHAVBEts0zT7sINUv9zsku2rQ0g==","signatures":[{"sig":"MEYCIQCdROW1gRQJQgeGxTOiKwxL/GR91JfTXTAmHLJFNTMfpQIhAKv6JfKmu8TA53Aa5ZAAPNPjMXOCAMoD2ZAZ9cLtPXKl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16027},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@babel/types":"^8.0.0","@babel/runtime":"^8.0.0","imports-visitor":"^2.1.0","@commerce-klaus/sfcc-module-resolver":"^1.1.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^7.0.0","@babel/core":"^8.0.0","@types/node":"^25.6.0","@babel/register":"^8.0.0","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_1.1.0_1787060214518_0.5637128550506103","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@commerce-klaus/babel-plugin-sfcc-modules","version":"1.1.1","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.1.1","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/babel-plugin-sfcc-modules/","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"600e686002c6dcd65335cc75124e6f41aa90747f","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.1.1.tgz","fileCount":7,"integrity":"sha512-ltX4AzzQ4eMrzLft5zng2cpKNj3tZes9BFyv5BR+PMgo2pvhA32A8eIBOmh6kxbjo8ugNwf6/JbfoPagQajizQ==","signatures":[{"sig":"MEUCIBtqkJICS8hXHpREhbWA8FQL0d5ST4zUgCb3KbYitihfAiEA3xF8Q+wzy+3H91FTm3OwJHLxS7mbqUe9bNEEXyREMe4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11008},"main":"./dist/index.cjs","type":"module","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@babel/types":"^8.0.0","@babel/runtime":"^8.0.0","imports-visitor":"^2.1.0","@commerce-klaus/sfcc-module-resolver":"^1.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^7.0.0","@babel/core":"^8.0.0","@types/node":"^25.6.0","@babel/register":"^8.0.0","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"tmp":"tmp/babel-plugin-sfcc-modules_1.1.1_1788093708965_0.04298453872949759","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"_id":"@commerce-klaus/babel-plugin-sfcc-modules@1.2.0","bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"dist":{"shasum":"14a850908d21230ffee1359fb4a0329d3f373710","tarball":"https://registry.npmjs.org/@commerce-klaus/babel-plugin-sfcc-modules/-/babel-plugin-sfcc-modules-1.2.0.tgz","fileCount":7,"integrity":"sha512-P6uLnVQN20pWbwIWXQWrYVDRi3GZ33cJghOtFwObPxQtSI51iOoGaPdxLIDvIjxCXCK8bp4cZuInRB75f0pWgg==","signatures":[{"sig":"MEUCIFaxPdQJMmRCgTKuZ4aRq2H1VkXhmAxtrD39c7H3kpaqAiEAtJboTTaiZdQB9oZ5w2o/VsSFFcoKBtfWAuqobQWVsro=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEWgkGYi5L/5gqvtXbOa4fvCZfBlDBuOM6Vi9eN37ia7AiAu0ypgcqoR1BbBX88f13igq4V05Oq9oRPuQG5J93Waug=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@commerce-klaus%2fbabel-plugin-sfcc-modules@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11222},"main":"./dist/index.cjs","name":"@commerce-klaus/babel-plugin-sfcc-modules","type":"module","author":"Jens Simon <https://github.com/jenssimon>","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"license":"MIT","scripts":{"test":"vp test","build":"vp pack","check":"vp check"},"version":"1.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:392749da-2d88-4663-b9d3-7a5541f6bf83"}},"homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/babel-plugin-sfcc-modules/","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","directories":{},"maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"dependencies":{"@babel/types":"^8.0.0","@babel/runtime":"^8.0.0","imports-visitor":"^2.1.0","@commerce-klaus/sfcc-module-resolver":"^1.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"vite-plus":"latest","typescript":"^7.0.0","@babel/core":"^8.0.0","@types/node":"^24","@babel/register":"^8.0.0","@vitest/coverage-v8":"^4.1.5"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/babel-plugin-sfcc-modules_1.2.0_1789727171850_0.5083507970544172"}}},"time":{"created":"2026-06-29T10:59:46.571Z","modified":"2026-09-18T10:26:12.367Z","0.0.0":"2026-06-29T10:59:46.865Z","1.0.0":"2026-06-29T14:06:31.581Z","1.0.1":"2026-07-08T08:51:49.952Z","1.0.2":"2026-07-13T11:28:10.126Z","1.1.0":"2026-08-18T13:36:54.667Z","1.1.1":"2026-08-30T12:41:49.112Z","1.2.0":"2026-09-18T10:26:11.953Z"},"bugs":{"url":"https://github.com/commerce-klaus/commerce-klaus/issues"},"author":"Jens Simon <https://github.com/jenssimon>","license":"MIT","homepage":"https://commerce-klaus.github.io/commerce-klaus/packages/babel-plugin-sfcc-modules/","keywords":["babel","babel-plugin","cartridge","commercecloud","demandware","import","module","require","salesforce","sfcc","sfra","supermodule"],"repository":{"url":"https://github.com/commerce-klaus/commerce-klaus","type":"git","directory":"packages/babel-plugin-sfcc-modules"},"description":"Babel plugin to handle non-standard module paths used by Salesforce Commerce Cloud (SFCC)","maintainers":[{"name":"jenssimon","email":"jens.simon80@googlemail.com"}],"readme":"[![NPM version][npm-image]][npm-url] [![Downloads][npm-downloads-image]][npm-url]\n\n# @commerce-klaus/babel-plugin-sfcc-modules\n\nBabel plugin for resolving Salesforce Commerce Cloud server-side module patterns in Babel-based tests and tooling.\n\n## Highlights\n\n- Rewrites `require(\"*/...\")` by cartridge order\n- Rewrites `require(\"~/...\")` for the current cartridge\n- Resolves cartridge aliases and `module.superModule`\n- Supports explicit and inferred cartridge paths\n\n## Install\n\n```bash [pnpm]\npnpm add -D @commerce-klaus/babel-plugin-sfcc-modules\n```\n\n```bash [yarn]\nyarn add -D @commerce-klaus/babel-plugin-sfcc-modules\n```\n\n```bash [npm]\nnpm install -D @commerce-klaus/babel-plugin-sfcc-modules\n```\n\n```bash [Vite+]\nvp install -D @commerce-klaus/babel-plugin-sfcc-modules\n```\n\n```json\n{\n  \"plugins\": [\n    [\n      \"@commerce-klaus/babel-plugin-sfcc-modules\",\n      {\n        \"basePath\": \"./cartridges\",\n        \"cartridgePath\": [\"app_custom\", \"app_storefront_base\"]\n      }\n    ]\n  ]\n}\n```\n\nUse this package for Babel-based pipelines. For Vite and Vitest, use [`@commerce-klaus/vite-plugin-sfcc-modules`](https://commerce-klaus.github.io/commerce-klaus/packages/vite-plugin-sfcc-modules/).\n\n## Documentation\n\nSee the [complete configuration and resolution reference](https://commerce-klaus.github.io/commerce-klaus/packages/babel-plugin-sfcc-modules/).\n\n## License\n\nMIT\n\n[npm-url]: https://www.npmjs.com/package/@commerce-klaus/babel-plugin-sfcc-modules\n[npm-image]: https://badgen.net/npm/v/@commerce-klaus/babel-plugin-sfcc-modules\n[npm-downloads-image]: https://badgen.net/npm/dw/@commerce-klaus/babel-plugin-sfcc-modules\n","readmeFilename":""}