A shared Webpack config for WordPress projects.
Install via NPM:
npm i @indigotree/webpack-wp --save-dev
Create a webpack.config.js file and include:
module.exports = require('@indigotree/webpack-wp');
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.
GPL-3.0+