Skip to content

Commit 93e424d

Browse files
committed
tech(systemjs): work on systemjs builder
1 parent 0dd7fb7 commit 93e424d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
"rjs-build-analysis": "0.0.3",
5858
"rxjs": "5.0.0-beta.0",
5959
"systemjs": "0.19.6",
60-
"tslint": "^2.5.0-beta",
6160
"zone.js": "0.5.10"
6261
},
6362
"engines": {
@@ -76,6 +75,7 @@
7675
"lodash": "^2.4.1",
7776
"sinon": "1.16.1",
7877
"systemjs-builder": "^0.14.15",
78+
"tslint": "^3.2.0",
7979
"typescript": "^1.7.5"
8080
}
8181
}

public/app/grafana_app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import bootstrap = require('bootstrap');
1717
import kbn = require('app/core/utils/kbn');
1818
import config = require('app/core/config');
1919

20-
// import {Component} from 'vendor/npm/angular2/core';
20+
// import {Component} from 'angular2/core';
2121
// console.log(Component);
2222

2323
export class GrafanaApp {

public/views/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969

7070
<script>
7171
System.import('app/app').then(function(app) {
72+
console.log(app)
7273
app.init();
7374
}).catch(function(err) {
7475
console.log('Loading app module failed: ', err);

tasks/systemjs_task.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = function(grunt) {
1212
console.log('Starting systemjs-builder');
1313

1414
builder
15-
.bundle('app/app', 'public_gen/app/app.js')
15+
.bundle('app/app + app/features/all', 'public_gen/app/app.js')
1616
.then(function() {
1717
console.log('Build complete');
1818
done();

0 commit comments

Comments
 (0)