Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centralize and Automate Plugin Asset Minification in Webpack #1718

Open
wants to merge 11 commits into
base: trunk
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Remove unnecessary string interpolation
Co-authored-by: Weston Ruter <[email protected]>
ShyamGadde and westonruter authored Dec 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit d9b93eb420589b4f79dd6ae51b2a778d72688991
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -218,7 +218,7 @@ const buildPlugin = ( env ) => {
const dependencies = [ 'minify-plugin-assets' ];

if ( pluginsWithBuild.includes( env.plugin ) ) {
dependencies.push( `${ env.plugin }` );
dependencies.push( env.plugin );
}

return {