From 1a2cc4f378f4e7c986ff36df2d41772bb3bd3055 Mon Sep 17 00:00:00 2001 From: Nan Wang Date: Wed, 16 Dec 2015 10:16:57 +0800 Subject: [PATCH] hotfix: disable sourcemap for uglified cocos2d-js library. --- gulp/tasks/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulp/tasks/build.js b/gulp/tasks/build.js index d89bae3c7a..8e80b0824b 100644 --- a/gulp/tasks/build.js +++ b/gulp/tasks/build.js @@ -124,7 +124,7 @@ function rebundle_test(bundler, suffix) { function createBundler(entryFiles) { // https://github.com/substack/node-browserify#methods var options = { - debug: true, + debug: false, //temporarily disable due to an asar packing bug detectGlobals: false, // dont insert `process`, `global`, `__filename`, and `__dirname` bundleExternal: false // dont bundle external modules //standalone: 'engine-framework',