瀏覽代碼

pragmas to exclude marked parts in deploy

Herbert Vojčík 10 年之前
父節點
當前提交
d87a05ef18
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      root/deploy.build.js

+ 4 - 0
root/deploy.build.js

@@ -3,6 +3,10 @@
     onBuildWrite: function (moduleName, path, contents) {
         return moduleName === "config" ? contents + "\nrequire.config({map:{'*':{app:'deploy'}}});" : contents;
     },
+    pragmas: {
+        excludeIdeData: true,
+        excludeDebugContexts: true
+    },
     include: ['config', 'node_modules/requirejs/require', 'deploy'],
     out: "the.js"
 })