summaryrefslogtreecommitdiff
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorJulie Lala <jules@okfoc.us>2013-12-19 00:34:41 -0500
committerJulie Lala <jules@okfoc.us>2013-12-19 00:34:41 -0500
commit17ae94eaa9452475d4e0ac9c4c29588968d0c0d5 (patch)
treebe9a1eab3aae5d28745916149f8b8fc796e4b2ea /Gruntfile.js
parentcdeae9149ee8d86526f6561fd4098f8863623f89 (diff)
inline the worker
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 8a3c6d4..1492aee 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -11,6 +11,7 @@ module.exports = function(grunt) {
src: [
'js/vendor/FileSaver/FileSaver.js',
'js/vendor/dataUriToBlob.js',
+ 'js/gif-encode/worker.min.js',
'js/gif-encode/util.js',
'js/gif-encode/tube.js',
'js/gif-encode/client.js',
@@ -21,10 +22,12 @@ module.exports = function(grunt) {
},
worker: {
src: [
+ 'js/gif-encode/blobify-prelude.js',
'js/gif-encode/GIFEncoder.js',
'js/gif-encode/LZWEncoder.js',
'js/gif-encode/NeuQuant.js',
- 'js/gif-encode/worker.js'
+ 'js/gif-encode/worker.js',
+ 'js/gif-encode/blobify-postlude.js',
],
dest: 'js/gif-encode/worker.concat.js'
}
@@ -33,7 +36,11 @@ module.exports = function(grunt) {
options: {
banner: '/* asdf.us/dither */\n'
},
- build: {
+ dist: {
+ src: 'js/gif-encode/worker.concat.js',
+ dest: 'js/gif-encode/worker.min.js'
+ },
+ worker: {
src: 'js/record.concat.js',
dest: 'js/record.min.js'
}