3422063ac3
- Add app.js sourcemap for development - Remove css sourcemap in release - Clean build folder for release
10 lines
456 B
JavaScript
10 lines
456 B
JavaScript
module.exports = function (grunt) {
|
|
"use strict";
|
|
|
|
grunt.loadTasks("tasks");
|
|
|
|
grunt.registerTask("default", ["bower-install-simple", "lint", "copy", "sass:dist", "postcss", "requirejs:default", "inlinedata", "cachebreaker", "inline", "clean:release"]);
|
|
grunt.registerTask("lint", ["sasslint", "eslint"]);
|
|
grunt.registerTask("serve", ["bower-install-simple", "lint", "copy", "sass:dev", "requirejs:dev", "inlinedata", "browserSync", "watch"]);
|
|
};
|