Site icon Hip-Hop Website Design and Development

Use npm and wp-env to make production bundle

Does anyone have a webpack config modification or @wordpress/wp-scripts extension that takes npm run build and then bundles everything up into a nice little .tgz or .zip without all of the extra development stuff? WPRig does this nicely at the theme level, but I’d like it for simple plugin development. Needless to say, I’m a complete n00b at webpack.