1.0.1 • Published 8 years ago
grunt-electron-compile v1.0.1
grunt-electron-compile
Precompile electron app source files with electron-compile
Install
$ npm install --save-dev grunt-electron-compile
Usage
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
"electron-compile": {
dist: {
files: [{
expand: true,
cwd: '.',
src: ['src/**/*.*', 'static/index.html', 'static/js/**/*.*']
}],
options: {
targetDir: './cache'
}
}
}
});
grunt.registerTask('default', ['electron-compile']);
License
MIT © Jim Geurts