forked from playcanvas/playcanvas-spine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntfile.js
More file actions
27 lines (24 loc) · 750 Bytes
/
Gruntfile.js
File metadata and controls
27 lines (24 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = function (grunt) {
var sourceFiles = [
'contrib/spine-ts/build/spine-core.js',
'src/plugin/spine.js',
'src/plugin/component/spine-component-system.js',
'src/plugin/component/spine-component.js',
'src/plugin/component/spine-component-data.js',
'src/plugin/plugin.js',
];
grunt.initConfig({
uglify: {
build: {
files: {
'lib/playcanvas-spine.min.js': sourceFiles
}
},
options: {
banner: "/* Copyright 2015-2018 PlayCanvas Ltd */\n"
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask("default", ['uglify'])
};