Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Do not minify the bundle in dist folder. Refs #38
Browse files Browse the repository at this point in the history
  • Loading branch information
nwronski committed Nov 12, 2016
1 parent 1599a58 commit e70359e
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ module.exports = function(grunt) {
expand: true,
cwd: '.tmp/',
dest: 'demo/'
},
browser: {
src: 'sqlite-parser.js',
dest: 'dist/',
expand: true,
cwd: '.tmp/'
}
},

Expand Down Expand Up @@ -337,8 +343,8 @@ module.exports = function(grunt) {
},
browser: {
files: [{
src: 'dist/sqlite-parser.js',
dest: 'dist/sqlite-parser.js'
src: '.tmp/sqlite-parser.js',
dest: '.tmp/sqlite-parser.js'
}]
},
bin: {
Expand Down Expand Up @@ -372,7 +378,13 @@ module.exports = function(grunt) {
],
releaseall: [
[ 'clean:release', 'copy:release', 'usebanner:release' ],
[ 'clean:browser', 'browserify:browser', 'uglify:browser', 'usebanner:browser' ],
[
'clean:browser',
'browserify:browser',
// 'uglify:browser',
'copy:browser',
'usebanner:browser'
],
]
}
});
Expand Down Expand Up @@ -401,7 +413,8 @@ module.exports = function(grunt) {
'clean:browser',
'browserify:browser',
'replace:browser',
'uglify:browser',
// 'uglify:browser',
'copy:browser',
'usebanner:browser'
]);
// Create new version of command line utility at bin/sqlite-parser
Expand Down

0 comments on commit e70359e

Please sign in to comment.