mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
44 lines
1.0 KiB
JavaScript
44 lines
1.0 KiB
JavaScript
module.exports = function(config) {
|
|
return {
|
|
// copy source to temp, we will minify in place for the dist build
|
|
everything_but_less_to_temp: {
|
|
cwd: '<%= srcDir %>',
|
|
expand: true,
|
|
src: ['**/*', '!**/*.less'],
|
|
dest: '<%= tempDir %>'
|
|
},
|
|
|
|
public_to_gen: {
|
|
cwd: '<%= srcDir %>',
|
|
expand: true,
|
|
src: ['**/*', '!**/*.less'],
|
|
dest: '<%= genDir %>'
|
|
},
|
|
|
|
node_modules: {
|
|
cwd: './node_modules',
|
|
expand: true,
|
|
src: [
|
|
'ace-builds/src-noconflict/**/*',
|
|
'eventemitter3/*.js',
|
|
'systemjs/dist/*.js',
|
|
'es6-promise/**/*',
|
|
'es6-shim/*.js',
|
|
'reflect-metadata/*.js',
|
|
'reflect-metadata/*.ts',
|
|
'reflect-metadata/*.d.ts',
|
|
'rxjs/**/*',
|
|
'tether/**/*',
|
|
'tether-drop/**/*',
|
|
'tether-drop/**/*',
|
|
'remarkable/dist/*',
|
|
'remarkable/dist/*',
|
|
'virtual-scroll/**/*',
|
|
'mousetrap/**/*',
|
|
],
|
|
dest: '<%= srcDir %>/vendor/npm'
|
|
}
|
|
|
|
};
|
|
};
|