Skip to content

Instantly share code, notes, and snippets.


anton-gorbikov/gruntfile.js Secret

Created Apr 14, 2018
What would you like to do?
Getting started with Grunt
module.exports = function(grunt) {
pkg: grunt.file.readJSON('package.json'),
requirejs: {
compile: {
options: {
baseUrl: "javascript",
mainConfigFile: "javascript/index.js",
name: "index",
out: "javascript/optimized.js"
// Requirejs
// Default task(s).
grunt.registerTask('default', ['requirejs']);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment