## Description `pnpm audit` of `bundler-webpack` showed a high severity security issue with the `webpack-dev-middleware` package Updated package to latest to resolve. - [x] I have read and understand the [CONTRIBUTING.md](https://github.com/payloadcms/payload/blob/main/CONTRIBUTING.md) document in this repository. ## Type of change - [x] Bug fix (non-breaking change which fixes an issue) ## Checklist: - [x] Existing test suite passes locally with my changes
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()
// ...rest of config
})
More detailed usage can be found in the Payload Docs.