More Related Content
Similar to GruntJS + Wordpress (20)
More from Leonardo Balter (15)
GruntJS + Wordpress
- 6. • Concatena JS e CSS
• Minimiza JS e CSS
• JSHint / JSLint
• Sass / LESS / Compass
• LiveReload
• Testes Unitários JS (QUnit, Jasmine, etc)
• etc, etc, etc
Automação
- 13. module.exports = function(grunt) {
grunt.initConfig({
uglify: {
'build/home.js': 'src/home.js',
'build/main.js': 'src/main.js'
}
});
// carrega plugins
grunt.loadNpmTasks('grunt-contrib-uglify');
};
Gruntfile.js
- 19. /assets
.. /css
.. .. /src
.. .. /sass
.. /js
.. .. /src
/images
.. /src
/includes
/languages
.. theme.pot
footer.php
functions.php
header.php
humans.txt
index.php
screenshot.png
style.css