summaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js37
1 files changed, 2 insertions, 35 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 215dcee..1a84763 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -6,8 +6,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-requirejs');
grunt.loadNpmTasks("grunt-bower-install-simple");
- grunt.loadNpmTasks('grunt-browserify');
- grunt.loadNpmTasks('grunt-contrib-uglify');
// Init GRUNT configuraton
grunt.initConfig({
@@ -79,30 +77,6 @@ module.exports = function (grunt) {
}
]
}
- },
- browserify: {
- dist: {
- files: {
- 'gitbook.js': [
- './lib/parse/index.js'
- ],
- },
- options: {
- postBundleCB: function (err, src, next) {
- return next(null, '(function () { var define = undefined; '+src+'; })();')
- },
- browserifyOptions: {
- 'standalone': "gitbook"
- }
- }
- }
- },
- uglify: {
- dist: {
- files: {
- 'gitbook.min.js': ['gitbook.js']
- }
- }
}
});
@@ -116,14 +90,7 @@ module.exports = function (grunt) {
'copy:vendors'
]);
- // Bundle the library
- grunt.registerTask('bundle', [
- 'browserify',
- 'uglify'
- ]);
-
grunt.registerTask('default', [
- 'build',
- 'bundle'
+ 'build'
]);
-}; \ No newline at end of file
+};