Minification of SCSS and JS - wpeka/wpadcenter GitHub Wiki

Table of Contents

SCSS

When updating SCSS files in the WPAdCenter project, please commit only your changes to unminified SCSS files. The minification will be handled as part of the release process.

For further details on how to set up grunt, see the section on How to set up WPAdcenter development environment in the guide to set up a WPAdCenter development environment.

Javascript

When changing the JS files, please commit only unminified files (i.e. the readable JS files). The minification will be handled as part of the release process.

To ensure you can test your changes, run with SCRIPT_DEBUG turned on, i.e. add define( 'SCRIPT_DEBUG', true ); to your wp-config.php file.