1 | module.exports = function (grunt) {
|
2 | grunt.initConfig({
|
3 | copy: {
|
4 | main: {
|
5 | files: [
|
6 | //根目录文件打包
|
7 | {expand: true, cwd: 'src/lib', src: '**', dest: 'lib/'},
|
8 | ],
|
9 | },
|
10 | },
|
11 | });
|
12 | grunt.loadNpmTasks('grunt-contrib-copy');
|
13 | grunt.registerTask('default', ['copy']);
|
14 | }; |
\ | No newline at end of file |