{"_id":"@aemvite/vite-plugin-aem-css-url-passthrough","_rev":"8-692d1afd5db3c7583f393e0499028ca7","name":"@aemvite/vite-plugin-aem-css-url-passthrough","dist-tags":{"latest":"0.11.0"},"versions":{"0.5.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.5.0","keywords":["aem","clientlib","vite","vite-plugin","css","url","css-loader","resources","edge-delivery","aemvite"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.5.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"d27c7db082d333047ee38a61ded0c72f43310a7a","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.5.0.tgz","fileCount":8,"integrity":"sha512-HpzW8Z90Om/LKAW0XhAzbBpf3H7FWs8tBX/Rw+FuYD9VSbh23LKYx7JrKZO0K7NhgGNL9vY/ptfZh/WVSMwFdg==","signatures":[{"sig":"MEUCIE2xWa4IxOCZwlR3IfcBT1+Uz/Ano2HJZ40iCppD7MXYAiEAg3eXdwexAvEOPSXBVgCTV5OSLX2+/hpjwM99pYjE9HU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17492},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"9b3c717db264905472726280c1249f839b95e873","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"lnhh","email":"luca.nerlich@gmail.com"},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"10.9.2","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"22.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.1.0","vitest":"4.1.9","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.5.0_1782476724179_0.7390672358751287","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.5.1","keywords":["aem","clientlib","vite","vite-plugin","css","url","css-loader","resources","edge-delivery","aemvite"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.5.1","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"6b3ca925e17b196da778d7c91cf2d92d113b1b9d","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.5.1.tgz","fileCount":8,"integrity":"sha512-hwIc9zIECxx354ctm/CrHgD6zmt21KxxAfBCL6fV7dlC5LHKJ+kO4mTKZ+d9Ya/iJnBnDnHsKIi/z0yi4mOY9w==","signatures":[{"sig":"MEUCIQC4nGCQ6jh37fbL8RYyf51CyXZpoM/zvp17dvK721c0OQIgdUgNK4G4m89Hnyrhb9M+lHoZ+VMGuDUOVRbH7iMAAWI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17636},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"bed8bb354d7848c9b253639cc489415a71c7a1e3","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"11.17.0","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"22.23.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.1.0","vitest":"4.1.9","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.5.1_1782477940451_0.7138087513353617","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.6.0","keywords":["aem","clientlib","vite","vite-plugin","css","url","css-loader","resources","edge-delivery","aemvite"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.6.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"77f0ed1a825649427ad5874641a514f996bbe642","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.6.0.tgz","fileCount":8,"integrity":"sha512-wsLwD7xwFpsyp11nHctKnoCGInKadDOQKZmY7jBp6JtQa1BnSehuokvsxK1nH5V6aClOuMp0mxaATEl6Mc3HAQ==","signatures":[{"sig":"MEUCIBsHog3xOIn8fEjj2JkivkbN4i1Eq+HbSlb0pvxNFaOGAiEAgLqbDPjcmLm11Bq3i+YJPIwmNpcGE8PdgnAUJNCKLfI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17780},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":"^22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"759f7f496265203c42fb07158acc3eace4381939","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"11.17.0","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"22.23.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"8.1.0","vitest":"4.1.9","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.6.0_1782482092144_0.4017697431757017","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.7.0","keywords":["aem","clientlib","vite","vite-plugin","css","url","css-loader","resources","edge-delivery","aemvite"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.7.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"79915927ba34c92a5ff1f8132dbadff5c547c4cf","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.7.0.tgz","fileCount":8,"integrity":"sha512-4gG6KgrWykzYMaNA0oLa802AEKS88ugq5jUZu/fpAFan7axxf2SYEJLC2DNK9NhhyAi7XQScGWIgd6DN6vIyzA==","signatures":[{"sig":"MEUCICp8zqrpjUPTJ7HKxV/Xby3ApAa6fKBHC5j8X2oa6E5tAiEAhW3pQeQOQ9Fr6oTenvL3VHdV9+hJSBdXH6aBjMZTjac=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20928},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","engines":{"node":"^20.19.0 || ^22.18.0 || >=24.11.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"31a4a1f3fe795b0344ce8aa31731134e63c96051","scripts":{"lint":"vp lint","test":"vp test run","build":"vp pack src/index.ts --dts","test:watch":"vp test","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"11.18.0","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","vite-plus":"^0.2.1","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.7.0_1783011969100_0.5967515578448361","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.8.0","keywords":["aem","aemvite","clientlib","css","css-loader","edge-delivery","resources","url","vite","vite-plugin"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.8.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"88a58cc0a1b943429d326cbb674db43ec5250572","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.8.0.tgz","fileCount":8,"integrity":"sha512-zdz6VJA2ZdoephNVLR/XXYjZ16WW6o+Tci56KRdj//+ktv0oDD2nCmGtU2gIWL0gucApTueE9FYiDW+2NiQjkA==","signatures":[{"sig":"MEUCIGpZvlDYYnwIxJSV/1V/xOVwx8Eurh/TZUDNb9ah70zTAiEAy797SB+/kL5zEpmShhddY585ZlgS9Z/wYRQsoMmdEgo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQC2pH2dE3dxbJKt9fHkIXMz95RZOszp0O/XFdeAcA0gaAIhAMhc73VxA/FX4Yt6xKwdpA/89fND19whcXKSDCKBqN5R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.8.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24264},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","engines":{"node":"^20.19.0 || ^22.18.0 || >=24.11.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"2bb4a590a8e5d91fc42ba3b297d349380a1065d5","scripts":{"lint":"oxlint -c ../../.oxlintrc.json .","test":"vitest run","build":"tsdown src/index.ts --dts","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"12.0.2","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.8.0_1789479899867_0.08885069149177349","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.9.0","keywords":["aem","aemvite","clientlib","css","css-loader","edge-delivery","resources","url","vite","vite-plugin"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.9.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"1695630bdbdaf475432d7fcc7acaa8bdd2e18336","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.9.0.tgz","fileCount":8,"integrity":"sha512-aEVwN0IRGEUtiiG98KQ93cF0FJRJJPRtHqN0nQI4TaKJpVVQU41NW0cXGZrD35luYFjBt0eFEfjKaBxQCH4WCg==","signatures":[{"sig":"MEQCIDNpsxHuG1RFZFBnBjvXj/ULNrkSwTycSt02hS7AmIBRAiA4LS6Dnoo6oaHx/xqpuoX38lZ3YkCJbKctn1cIoC9ekA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCBEslKGs6FHzuSXU4t66ngLa3SxsdM/b7TsmGyNIalEwIhAIWgPtiFTjFfEjv+7vft/Meiz6t0McTR3H2jHz1Bw33U","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.9.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24264},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","engines":{"node":"^20.19.0 || ^22.18.0 || >=24.11.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"95190242871ed827e871f924f3b7bee238150df7","scripts":{"lint":"oxlint -c ../../.oxlintrc.json .","test":"vitest run","build":"tsdown src/index.ts --dts","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"12.0.2","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.9.0_1789483824556_0.7848933264974469","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@aemvite/vite-plugin-aem-css-url-passthrough","version":"0.10.0","keywords":["aem","aemvite","clientlib","css","css-loader","edge-delivery","resources","url","vite","vite-plugin"],"author":{"name":"Luca Nerlich"},"license":"MIT","_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.10.0","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"homepage":"https://github.com/LucaNerlich/aem-vite#readme","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"9f819178acfd4546aca76b40f0c416a331b948c4","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.10.0.tgz","fileCount":8,"integrity":"sha512-oHRJirsZ8QLxrjcDmKvWsFRGUw1AVymo0+6S4NxvyiDPvqEVLC2Vsgl9zk3uXf7hTtMERC8MmmwR8uC8esAVbg==","signatures":[{"sig":"MEYCIQD39JVbJOEkMeA5l/wBe3OrXfhijeccO2hYjR0gyiW0TQIhAJq1isGfAcS7XCtW9hK/hs0OcNCs2v7exYxLiC4FKR7g","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCyfxzS22mdCwcjto4zBDK96tFO8fZaCQTZA6yH6sJeVAIgP2QuYY2z+3rjg3WUoVtQWzHf9dGgVejUIge29xk8Duw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24339},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","engines":{"node":"^20.19.0 || ^22.18.0 || >=24.11.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"d82628b121f1f0980eee70d964f1c15ca3b37f1b","scripts":{"lint":"oxlint -c ../../.oxlintrc.json .","test":"vitest run","build":"tsdown src/index.ts --dts","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"12.0.2","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.10.0_1789486677558_0.6283867129491127","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"_id":"@aemvite/vite-plugin-aem-css-url-passthrough@0.11.0","bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"dist":{"shasum":"106c8fff74f6c5d0605494c3dec470a1a5973a78","tarball":"https://registry.npmjs.org/@aemvite/vite-plugin-aem-css-url-passthrough/-/vite-plugin-aem-css-url-passthrough-0.11.0.tgz","fileCount":8,"integrity":"sha512-kOdRyi78KIxPBW5ouJ/joYK8RzEh02hxxfCvvz1z+zdD7TIQTeoz31Dc3sWZ0gOhJ198Hkn4W8JSTYHQZU1xDw==","signatures":[{"sig":"MEQCIGpIjWFgyLObJ6q7ynt3/SBbB6J7BJoIoD/GlaDIZkYXAiAeTP5WRXhVjI6f90ZsWAa9UN3UNS3Euh3DnoafdLzEZg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCBiYz/T0SMlsYhXhdDygvoJWmsh6NzZ3wbzJqH3ylqMQIhALtW8DIJ8fDFqamqGUEggk3Z7ChARyajG9ODNVtBZ8sN"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aemvite%2fvite-plugin-aem-css-url-passthrough@0.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":24339},"main":"./dist/index.mjs","name":"@aemvite/vite-plugin-aem-css-url-passthrough","type":"module","types":"./dist/index.d.mts","author":{"name":"Luca Nerlich"},"engines":{"node":"^20.19.0 || ^22.18.0 || >=24.11.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"gitHead":"a28a76a93f400a2739f76217646df74957ea79b1","license":"MIT","scripts":{"lint":"oxlint -c ../../.oxlintrc.json .","test":"vitest run","build":"tsdown src/index.ts --dts","test:watch":"vitest","prepublishOnly":"npm run build"},"version":"0.11.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:faac2635-c324-4f14-90a0-a3ba81e49b18"}},"homepage":"https://github.com/LucaNerlich/aem-vite#readme","keywords":["aem","aemvite","clientlib","css","css-loader","edge-delivery","resources","url","vite","vite-plugin"],"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"_npmVersion":"12.0.2","description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","directories":{},"maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"_nodeVersion":"24.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.0","typescript":"^5.9.3","@types/node":"^22.20.0"},"peerDependencies":{"vite":"^8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite-plugin-aem-css-url-passthrough_0.11.0_1789487342178_0.20457606221975078"}}},"time":{"created":"2026-06-26T12:25:23.983Z","modified":"2026-09-15T15:49:02.601Z","0.5.0":"2026-06-26T12:25:24.315Z","0.5.1":"2026-06-26T12:45:40.600Z","0.6.0":"2026-06-26T13:54:52.277Z","0.7.0":"2026-07-02T17:06:09.232Z","0.8.0":"2026-09-15T13:44:59.945Z","0.9.0":"2026-09-15T14:50:24.658Z","0.10.0":"2026-09-15T15:37:57.640Z","0.11.0":"2026-09-15T15:49:02.254Z"},"bugs":{"url":"https://github.com/LucaNerlich/aem-vite/issues"},"author":{"name":"Luca Nerlich"},"license":"MIT","homepage":"https://github.com/LucaNerlich/aem-vite#readme","keywords":["aem","aemvite","clientlib","css","css-loader","edge-delivery","resources","url","vite","vite-plugin"],"repository":{"url":"git+https://github.com/LucaNerlich/aem-vite.git","type":"git","directory":"packages/vite-plugin-aem-css-url-passthrough"},"description":"Vite plugin that rewrites CSS url() references in built clientlib stylesheets back to ../resources/<sub>/<file> form, mirroring webpack css-loader { url: false } for AEM clientlibs.","maintainers":[{"name":"lnhh","email":"luca.nerlich@gmail.com"}],"readme":"# @aemvite/vite-plugin-aem-css-url-passthrough\n\n> Vite plugin that rewrites CSS `url(...)` references in built AEM clientlib\n> stylesheets back to the canonical `../resources/<sub>/<file>` form. Drop-in\n> replacement for webpack's `css-loader: { url: false }` in AEM clientlib\n> builds.\n\nPart of the [`@aemvite/*`](https://github.com/LucaNerlich/aem-vite) toolchain.\n\n## Install\n\n```sh\nnpm i -D @aemvite/vite-plugin-aem-css-url-passthrough\n```\n\n- **Peer dependency:** `vite` `^8`\n- **Engines:** Node `^20.19.0 || ^22.18.0 || >=24.11.0`\n- No runtime dependencies — uses only Node's built-in `node:fs` and\n  `node:path`.\n\n## What it does\n\nAEM clientlibs serve CSS at `<clientlib>/css/<name>.css` and static assets at\n`<clientlib>/resources/<sub>/<file>`. SCSS authors typically write\n`url(\"../resources/images/foo.svg\")` relative to the final clientlib layout.\nThe webpack stack preserved those literals via `css-loader: { url: false }`,\nbut Vite/Rolldown by default rewrites `url()` relative to the source SCSS\nfile, producing paths like `../../components/header/resources/images/foo.svg`\nthat 404 against the deployed clientlib.\n\nThis plugin runs at `writeBundle`, scans every emitted `.css` file in the\nbuild output directory tree, and rewrites every `url(...)` whose body contains\n`resources/<configured-sub>/` to the canonical `../resources/<sub>/<rest>`\nform. Other URLs are left untouched.\n\n`writeBundle` is used (not `generateBundle`) because Vite's lib-mode CSS\nextraction emits the `.css` outside the Rollup chunk map.\n\n## Usage\n\n### Direct (any Vite project)\n\n```ts\n// vite.config.ts\nimport { defineConfig } from 'vite';\nimport { aemCssUrlPassthrough } from '@aemvite/vite-plugin-aem-css-url-passthrough';\n\nexport default defineConfig({\n  plugins: [\n    aemCssUrlPassthrough({\n      // Optional; defaults to [\"images\", \"fonts\"].\n      resourceDirs: ['images', 'fonts', 'icons', 'storybook-assets'],\n    }),\n  ],\n});\n```\n\n### Through `@aemvite/aem-config` (recommended)\n\nSet the `cssUrlPassthrough` flag in your `aem.config.{ts,mjs}` and the plugin\nis auto-wired into every clientlib build:\n\n```ts\nimport { defineAemConfig } from '@aemvite/aem-config';\n\nexport default defineAemConfig({\n  clientLibRoot: '../ui.apps/.../clientlibs',\n  cssUrlPassthrough: true, // or: { resourceDirs: [\"images\", \"fonts\", \"icons\"] }\n  clientlibs: [/* ... */],\n});\n```\n\nThe same field is available per-clientlib and takes precedence over the\nglobal value.\n\n## API reference\n\n### Plugin\n\n| Export                 | Signature                                           | Notes                                                 |\n| ---------------------- | --------------------------------------------------- | ----------------------------------------------------- |\n| `aemCssUrlPassthrough` | `(options?: AemCssUrlPassthroughOptions) => Plugin` | Vite plugin. `apply: \"build\"`, runs at `writeBundle`. |\n\n### Types\n\n```ts\ninterface AemCssUrlPassthroughOptions {\n  /** Default: [\"images\", \"fonts\"]. */\n  resourceDirs?: readonly string[];\n  /**\n   * Path prefix written in front of the rewritten `resources/<sub>/<file>`\n   * tail. Default: \"../\" (canonical AEM clientlib form).\n   */\n  resourcePrefix?: string;\n}\n```\n\n## Behavior\n\n- **Every `.css` file in the build output directory tree is scanned**\n  (recursively, including `assets/` subtrees). No URL rewriting touches the\n  bundled JavaScript.\n- **Only `url(...)`s whose body contains `resources/<configured-sub>/`** are\n  rewritten. The rewritten URL becomes `<resourcePrefix>resources/<sub>/<rest>`.\n- **Data URIs, absolute `http(s)://` URLs, and protocol-relative `//host`\n  URLs are skipped.** External CDN references are never touched.\n- **Idempotent.** A url() already in canonical form (`url(../resources/...)`)\n  is matched and rewritten to the identical string.\n- **Sync content only.** The plugin runs once per build, after Rollup writes\n  the bundle, and rewrites in place.\n\n## Notes & caveats\n\n- **The rewrite only applies to `url()`s Vite leaves unchanged.** If Vite\n  resolves the referenced file at build time (i.e. the file exists relative\n  to the source SCSS), it rewrites the URL to a hashed asset path and the\n  original `resources/<sub>/` specifier is no longer recoverable. Keep\n  clientlib resources outside the Vite resolution graph — reference them by\n  the clientlib-relative path even when the file does not exist at that\n  location relative to the SCSS source (Vite logs \"didn't resolve at build\n  time, it will remain unchanged\").\n- Configure every `resources/<sub>/` bucket your stylesheets reference. If a\n  url() goes through a directory you didn't list, it will be left as-is and\n  will likely 404 against the AEM clientlib.\n\n## License\n\n[MIT](./LICENSE) © Luca Nerlich\n\n## Repository\n\n<https://github.com/LucaNerlich/aem-vite> (this package lives in\n[`packages/vite-plugin-aem-css-url-passthrough`](https://github.com/LucaNerlich/aem-vite/tree/main/packages/vite-plugin-aem-css-url-passthrough)).\n","readmeFilename":"README.md"}