kibana/tasks/build/babel_cache.js
Spencer e488a16e6f [eslint] reenable no-extra-semi and quotes rules (#9473)
* [eslint] re-enable no-extra-semi and quotes rules

* [eslint] update to version 0.2.2 of eslint config

* [eslint] autofix
2016-12-13 18:17:47 -07:00

8 lines
403 B
JavaScript

export default function (grunt) {
grunt.registerTask('_build:babelCache', function () {
//When running from built packages, if a plugin is installed before babelcache
//exists it can become owned by root. This causes server startup to fail because
//the optimization process can't write to .babelcache.json.
grunt.file.write('build/kibana/optimize/.babelcache.json', '{}\n');
});
}