meshviewer/tasks/clean.js
Xaver Maierhofer 3422063ac3 [TASK] Development sourcemap and release clean
- Add app.js sourcemap for development
- Remove css sourcemap in release
- Clean build folder for release
2016-06-03 00:49:51 +02:00

13 lines
307 B
JavaScript

module.exports = function (grunt) {
"use strict";
grunt.config.merge({
clean: {
build: ["build/**/*", "node_modules/grunt-newer/.cache"],
release: ["build/vendor", "build/app.js.map", "build/config.json", "build/style.css*"]
}
});
grunt.loadNpmTasks("grunt-contrib-clean");
};