Skip to content

Commit e557e72

Browse files
fix(build): fixed a problem with the UMD build, issue #2
1 parent e4a7143 commit e557e72

File tree

4 files changed

+67
-158
lines changed

4 files changed

+67
-158
lines changed

build.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,16 @@ return Promise.resolve()
6363
// The key here is library name, and the value is the the name of the global variable name
6464
// the window object.
6565
// See https://github.com/rollup/rollup/wiki/JavaScript-API#globals for more.
66-
'@angular/core': 'ng.core'
66+
'@angular/core': 'ng.core',
67+
'@angular/cdk': 'ng.cdk',
68+
'@angular/material': 'ng.material',
6769
},
6870
external: [
6971
// List of dependencies
7072
// See https://github.com/rollup/rollup/wiki/JavaScript-API#external for more.
71-
'@angular/core'
73+
'@angular/core',
74+
'@angular/cdk',
75+
'@angular/material'
7276
],
7377
plugins: [
7478
commonjs({

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,18 @@
6262
"@angular/core": ">=4.0.0 <5.0.0 || >=4.0.0-beta <5.0.0"
6363
},
6464
"devDependencies": {
65-
"@angular/animations": "^4.2.6",
65+
"@angular/animations": "^4.3.1",
6666
"@angular/cdk": "^2.0.0-beta.8",
67-
"@angular/common": "^4.2.6",
68-
"@angular/compiler": "^4.2.6",
69-
"@angular/compiler-cli": "^4.2.6",
70-
"@angular/core": "^4.2.6",
67+
"@angular/common": "^4.3.1",
68+
"@angular/compiler": "^4.3.1",
69+
"@angular/compiler-cli": "^4.3.1",
70+
"@angular/core": "^4.3.1",
7171
"@angular/flex-layout": "^2.0.0-beta.8",
72-
"@angular/forms": "^4.2.6",
73-
"@angular/http": "^4.2.6",
72+
"@angular/forms": "^4.3.1",
73+
"@angular/http": "^4.3.1",
7474
"@angular/material": "^2.0.0-beta.8",
75-
"@angular/platform-browser": "^4.2.6",
76-
"@angular/platform-browser-dynamic": "^4.2.6",
75+
"@angular/platform-browser": "^4.3.1",
76+
"@angular/platform-browser-dynamic": "^4.3.1",
7777
"@types/jasmine": "2.5.36",
7878
"@types/node": "^6.0.46",
7979
"camelcase": "^4.0.0",

tslint.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
"no-duplicate-variable": true,
3939
"no-empty": false,
4040
"no-eval": true,
41-
"no-inferrable-types": [true, "ignore-params"],
41+
"no-inferrable-types": [false, "ignore-params"],
4242
"no-shadowed-variable": true,
4343
"no-string-literal": false,
4444
"no-switch-case-fall-through": true,
4545
"no-trailing-whitespace": true,
4646
"no-unused-expression": true,
47-
"no-use-before-declare": true,
47+
"no-use-before-declare": false,
4848
"no-var-keyword": true,
4949
"object-literal-sort-keys": false,
5050
"one-line": [

0 commit comments

Comments
 (0)