Added standalone option to Filer's browserify build step

This commit is contained in:
Kieran Sedgwick 2014-05-28 14:48:00 -04:00
parent e7e44bb921
commit 73b6379449
1 changed files with 4 additions and 5 deletions

View File

@ -56,20 +56,19 @@ module.exports = function(grunt) {
src: "./src/index.js", src: "./src/index.js",
dest: "./dist/filer.js", dest: "./dist/filer.js",
options: { options: {
standalone: 'Filer',
browserifyOptions: { browserifyOptions: {
builtins: false, builtins: false,
commondir: false commondir: false
}, },
bundleOptions: {
standalone: 'Filer'
},
exclude: ["./node_modules/request/index.js"] exclude: ["./node_modules/request/index.js"]
} }
}, },
filerTest: { filerTest: {
src: "./tests/index.js", src: "./tests/index.js",
dest: "./dist/filer-test.js", dest: "./dist/filer-test.js"
options: {
standalone: 'FilerTest'
}
} }
}, },