Torkel Ödegaard 10 سال پیش
والد
کامیت
82061c7c3b
6فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 1 1
      .gitignore
  2. 1 1
      public/app/components/require.config.js
  3. 1 1
      public/views/index.html
  4. 1 1
      tasks/options/copy.js
  5. 2 2
      tasks/options/typescript.js
  6. 1 1
      tsconfig.json

+ 1 - 1
.gitignore

@@ -4,7 +4,7 @@ coverage/
 awsconfig
 /dist
 /emails/dist
-/public/app_gen
+/public/.app_gen
 /tmp
 
 docs/AWS_S3_BUCKET

+ 1 - 1
public/app/components/require.config.js

@@ -1,6 +1,6 @@
 require.config({
   urlArgs: 'bust=' + (new Date().getTime()),
-  baseUrl: 'public/app_gen',
+  baseUrl: 'public/.app_gen',
 
   paths: {
     config:                   'components/config',

+ 1 - 1
public/views/index.html

@@ -19,7 +19,7 @@
 
 		<!-- build:js [[.AppSubUrl]]/app/app.js -->
     <script src="[[.AppSubUrl]]/public/vendor/requirejs/require.js"></script>
-    <script src="[[.AppSubUrl]]/public/app_gen/components/require.config.js"></script>
+    <script src="[[.AppSubUrl]]/public/.app_gen/components/require.config.js"></script>
     <!-- endbuild -->
   </head>
 

+ 1 - 1
tasks/options/copy.js

@@ -12,7 +12,7 @@ module.exports = function(config) {
       cwd: '<%= srcDir %>/app',
       expand: true,
       src: ['**/*.js', '**/*.html'],
-      dest: '<%= srcDir %>/app_gen'
+      dest: '<%= srcDir %>/.app_gen'
     }
 
   };

+ 2 - 2
tasks/options/typescript.js

@@ -4,7 +4,7 @@ module.exports = function() {
   return {
     build: {
       src: ['public/app/**/*.ts'],
-      dest: 'public/app_gen',
+      dest: 'public/.app_gen',
       options: {
         module: 'amd', //or commonjs
         target: 'es5', //or es3
@@ -16,7 +16,7 @@ module.exports = function() {
     },
     watch: {
       src: ['public/app/**/*.ts'],
-      dest: 'public/app_gen',
+      dest: 'public/.app_gen',
       options: {
         module: 'amd', //or commonjs
         target: 'es5', //or es3

+ 1 - 1
tsconfig.json

@@ -2,7 +2,7 @@
     "compilerOptions": {
         "sourceMap": true,
         "declaration": true,
-        "outDir": "public/app_gen",
+        "outDir": "public/.app_gen",
         "target": "ES5",
         "rootDir": "public/app",
         "module": "amd",