experiments

This commit is contained in:
Torkel Ödegaard
2015-09-09 20:37:27 +02:00
parent a8197df1c1
commit 82061c7c3b
6 changed files with 7 additions and 7 deletions

2
.gitignore vendored
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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