Dev: don't minify
Build: minify, lean Modernizr build
Dev assets will load if you have defined your WP_ENV as development
If you don't use Bedrock, you'll need to add this to your wp-config.php:
define('WP_ENV', 'development');
TODO: lib/scripts.php shouldn't need to be committed for changes after
running the version task
- Move Bootstrap LESS files into new subdirectory
- Change app.css to app.less, add @import's to utilize
Bootstrap variables and mixins
- Remove plugins.js and main.js
- Move Bootstrap JS plugins into new subdirectory
- Add new _main.js file with example DOM-based routing
script that works off the WordPress body_class
- lib/scripts.php has been updated to remove all extra
CSS and JS files and also places JavaScript in the footer