Browse Source

pragmas to exclude marked parts in deploy

Herbert Vojčík 10 years ago
parent
commit
d87a05ef18
1 changed files with 4 additions and 0 deletions
  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"
 })