mirror of
https://github.com/grafana/grafana.git
synced 2025-09-23 18:52:33 +08:00
experiments
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -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
|
||||||
|
@ -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',
|
||||||
|
@ -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>
|
||||||
|
|
||||||
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -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
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user