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
Branches
No related tags found
No related merge requests found
...@@ -13,8 +13,9 @@ module.exports = function (grunt) { ...@@ -13,8 +13,9 @@ module.exports = function (grunt) {
watch: "on", watch: "on",
banner: "<%= banner %>", banner: "<%= banner %>",
browserifyOptions: { browserifyOptions: {
detectGlobals: "off", standalone: "jsf",
noBuiltins: "on" noBuiltins: true,
detectGlobals: false
} }
}, },
dist: { dist: {
...@@ -27,7 +28,7 @@ module.exports = function (grunt) { ...@@ -27,7 +28,7 @@ module.exports = function (grunt) {
transform: ['uglifyify'] transform: ['uglifyify']
}, },
files: { 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, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment