2.6.1 • Published 5 months ago

@indigotree/webpack-wp v2.6.1

Weekly downloads
-
License
GPL-3.0+
Repository
github
Last release
5 months ago

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+