Payload Webpack Adapter
Official Webpack adapter for Payload.
Installation
npm install @payloadcms/bundler-webpack
Usage
import { buildConfig } from 'payload/config'
import { webpackBundler } from '@payloadcms/bundler-webpack'
export default buildConfig({
bundler: webpackBundler()
})
More detailed usage can be found in the Payload Docs.
1.0.4 (2022-07-19)
Features
- Updated UI: Dark Mode
- Updated UI: Collapsibles (60bfb1c)
- Updated UI: Tabs field (68e7c41)
- Updated UI: Styling Revamp and responsive improvements
- More maintainable colors via CSS vars
- Improved test coverage through granular Payload configs
- Introduction of E2E tests through Playwright
- allow clear select value (#735) (3132d35)
BREAKING CHANGES
We have removed our reliance on SCSS variables like color and font, replacing them instead with CSS variables wherever possible.
Due to this change, the admin.scss
functionality has become obsolete, and overriding SCSS variables is not longer needed or supported. If you want to customize CSS, you can still do so, but via the admin.css
property instead.