@payloadcms/bundler-webpack
v1.0.7
Published
The officially supported Webpack bundler adapter for Payload
Downloads
95,259
Maintainers
Keywords
Readme
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.