mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 03:12:13 +08:00
experiments
This commit is contained in:
2
.gitignore
vendored
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",
|
||||
|
Reference in New Issue
Block a user