Best Products
Launches
Launch archive
Most-loved launches by the community
Launch Guide
Checklists and pro tips for launching
News
Newsletter
The best of Product Hunt, every day
Stories
Tech news, interviews, and tips from makers
Changelog
New Product Hunt features and releases
Forums
Forums
Ask questions, find support, and connect
Kitty Points Leaderboard
The highest scoring community members
Streaks
The most active community members
Events
Meet others online and in-person
Advertise
Subscribe
Sign in
Clear text
recent
p/wp-bones
by
Giovambattista Fazioli
•
13d ago
WPBones v2 — Gulp is gone, webpack is in, one command to migrate
... everyone! WPBones v2.0 just dropped the biggest release since the framework launched. Here s the short version: The old build pipeline is gone. No more
Gulp
, no more run-s, no more per-plugin build scripts that drift over time. v2 replaces everything with a single webpack.config.js that auto-discovers your entries from resources/assets/. Drop a .tsx file, webpack picks it up. That s it. Every plugin now speaks the same 5 commands: yarn dev # watch mode yarn build # production ... ... separate setup. Strict TS, @wordpress/* presets, everything wired and ready. One-command migration from v1: composer require wpbones/wpbones:^2.0.1 php bones migrate:to-v2 yarn install && yarn build The migrator rewrites your plugin in place removes
gulpfile.js
0
9
Subscribe
Sign in