experiments

pull/2746/head
Torkel Ödegaard 10 years ago
parent a8197df1c1
commit 82061c7c3b
  1. 2
      .gitignore
  2. 2
      public/app/components/require.config.js
  3. 2
      public/views/index.html
  4. 2
      tasks/options/copy.js
  5. 4
      tasks/options/typescript.js
  6. 2
      tsconfig.json

2
.gitignore vendored

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

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

@ -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>

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

@ -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

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

Loading…
Cancel
Save