@aem-vite/import-rewriter
Version:
Dynamic imports transformer and CSS path rewriter for Vite when using Adobe Experience Manager
26 lines (19 loc) • 1.32 kB
Markdown
<p align="center">
<a href="https://aemvite.dev" target="_blank" rel="noopener noreferrer">
<img width="180" src="https://aemvite.dev/static/logo-outlined.png" alt="AEM Vite logo">
</a>
</p>
<br/>
<p align="center">
<a href="https://github.com/aem-vite/import-rewriter/actions/workflows/build.yml"><img src="https://github.com/aem-vite/import-rewriter/actions/workflows/build.yml/badge.svg?branch=develop" alt="Build status"></a>
<a href="https://npmjs.com/package/@aem-vite/import-rewriter"><img src="https://img.shields.io/npm/v/@aem-vite/import-rewriter.svg" alt="npm package"></a>
<a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/@aem-vite/import-rewriter.svg" alt="node compatility"></a>
<a href="https://open.vscode.dev/aem-vite/import-rewriter"><img src="https://img.shields.io/static/v1?logo=visualstudiocode&label=&message=Open%20in%20Visual%20Studio%20Code&labelColor=2c2c32&color=007acc&logoColor=007acc" alt="Open in Visual Studio Code"></a>
</p>
<br/>
# @aem-vite/import-rewriter
A Vite/Rollup transformer that ensures `import` statements use the correct AEM ClientLib public path.
## Getting Started
Please refer to [aemvite.dev](https://aemvite.dev/guide/front-end/dynamic-imports/) for some background and usage instructions.
## License
Apache-2.0