@indigotree/webpack-wp

2.6.1 • Public • Published

Webpack Config for WordPress

A shared Webpack config for WordPress projects.

Installation

Install via NPM:

npm i @indigotree/webpack-wp --save-dev

Usage

Create a webpack.config.js file and include:

module.exports = require('@indigotree/webpack-wp');

Assumptions

This config will assume the entry point of your project is src/index.js and will output the result in dist/.

However, you can use webpack-merge to customise these paths.

License

GPL-3.0+

Readme

Keywords

none

Package Sidebar

Install

npm i @indigotree/webpack-wp

Weekly Downloads

62

Version

2.6.1

License

GPL-3.0+

Unpacked Size

3.45 kB

Total Files

3

Last publish

Collaborators

  • louisetowler
  • paulgibbs
  • indigotree-bot