mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Merge pull request #53 from nantas/master
hotfix: disable sourcemap for uglified cocos2d-js library.
This commit is contained in:
+1
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user