@@ -49,7 +49,7 @@ gulp.task("compile", prevTasks, function () {
glsl({
// By default, everything gets included
include: /.*(.glsl|.vs|.fs)$/,
- sourceMap: false,
+ sourceMap: true,
compress:false
}),
/*terser({
@@ -64,7 +64,7 @@ gulp.task("compile", prevTasks, function () {
file: workSpaceDir + '/bin/js/bundle.js',
format: 'iife',
name: 'laya',
- sourcemap: false
+ sourcemap: true
});
}).catch(err=>{
console.log(err);
@@ -0,0 +1,5 @@
+{
+ "code": "export class Global {\r\n}\r\nGlobal.VERSION = \"1.0.3\";\r\nGlobal.CFG = \"123\";\r\n//# sourceMappingURL=Global.js.map",
+ "references": [],
+ "map": "{\"version\":3,\"file\":\"Global.js\",\"sourceRoot\":\"\",\"sources\":[\"../../src/Global.ts\"],\"names\":[],\"mappings\":\"AAAA,MAAM,OAAO,MAAM;;AACR,cAAO,GAAG,OAAO,CAAC;AAClB,UAAG,GAAG,KAAK,CAAC\"}"
+}
@@ -0,0 +1 @@
+[]