Skip to content

Commit

Permalink
Build: Include JS & CSS (base theme) files in npm/Bower packages
Browse files Browse the repository at this point in the history
Both unminified & minified versions are included.

Fixes jquerygh-2011
  • Loading branch information
mgol committed Mar 2, 2022
1 parent 54074fc commit 8766e5d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,14 @@ Release.define( {
shell.mkdir( "-p", "dist/cdn" );
shell.cp( tmpFolder + "/jquery-ui*.js", "dist/cdn" );
shell.cp( "-r", tmpFolder + "/themes", "dist/cdn" );

// Copy JS & CSS (base theme) files in unminified & minified
// versions to `dist/`.
shell.cp( "dist/cdn/jquery-ui.js", "dist" );
shell.cp( "dist/cdn/jquery-ui.min.js", "dist" );
shell.cp( "dist/cdn/themes/base/jquery-ui.css", "dist" );
shell.cp( "dist/cdn/themes/base/jquery-ui.min.css", "dist" );

fn( files );
} );
}
Expand Down

0 comments on commit 8766e5d

Please sign in to comment.