Skip to content
Snippets Groups Projects
Commit 5cc01aa4 authored by Tomasz Ducin's avatar Tomasz Ducin
Browse files

exporting `jsf` object inside distribution files

parent 1c12bcd8
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,9 @@ module.exports = function (grunt) {
watch: "on",
banner: "<%= banner %>",
browserifyOptions: {
detectGlobals: "off",
noBuiltins: "on"
standalone: "jsf",
noBuiltins: true,
detectGlobals: false
}
},
dist: {
......@@ -27,7 +28,7 @@ module.exports = function (grunt) {
transform: ['uglifyify']
},
files: {
'dist/json-schema-faker-min.js': ['lib/index.js']
'dist/json-schema-faker.min.js': ['lib/index.js']
}
}
}
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment