npm

@payloadcms/bundler-webpack
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @payloadcms/bundler-webpack

Weekly Downloads

23,555

Version

1.0.7

License

MIT

Unpacked Size

54 kB

Total Files

27

Last publish

Collaborators

  • german.jablo
  • seanpayload
  • patrikkozak
  • alessiogr
  • jacobsfletch
  • jmikrut
  • danribbens
  • elliotpayload
  • payloadjs