@shiftparadigm/eds-dev-tools
v0.1.0-alpha.12
Published
A set of development and build tooling for Adobe Edge Delivery to leverage Vite build tooling.
Downloads
274
Keywords
Readme
Shift Paradigm dev tools for Adobe Edge Delivery Services
A set of development and build tooling for Adobe Edge Delivery to leverage Vite build tooling.
This is still in alpha, and so more documentation will arrive soon.
Features & Setup
Vite build tooling. With a
vite.config.*
file, use [Vite][vite] to build your EDS website. Add the following scripts to yourpackage.json
:"scripts": { "start": "shift-aem", "build": "shift-aem-build" }
Developers may use
npm start
to run the application, and build tooling may usenpm run build
to build it.Set up GitHub Actions to build the branch without source.
More documentation TODO
- Setup node
npm ci
npm run build
- Publish as though doing a GitHub pages build (with some tweaks to provide per-branch builds).
Be sure to set up a GitHub Action to remove built branches when deleting source branches.
Optional: Customize Vite config. If you need custom Vite tooling, you can create a
vite.config.mjs
orvite.config.mts
; if you do not create one, your Vite config essentially acts as the following:export { default } from '@shiftparadigm/eds-dev-tools/vite.config';
You may use Vite's
mergeConfig
to customize this further, or provide your own.