diff --git a/ponyracer/angular.json b/ponyracer/angular.json index 136cc3cf7..1b25f0f5f 100644 --- a/ponyracer/angular.json +++ b/ponyracer/angular.json @@ -5,7 +5,7 @@ "projects": { "ponyracer": { "root": "", - "sourceRoot": "/src", + "sourceRoot": "src", "projectType": "application", "prefix": "app", "schematics": {}, @@ -19,16 +19,8 @@ "polyfills": "src/polyfills.ts", "tsConfig": "src/tsconfig.app.json", "assets": [ - { - "glob": "favicon.ico", - "input": "src", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/assets", - "output": "/assets" - } + "src/favicon.ico", + "src/assets" ], "styles": [ "src/styles.css" @@ -84,16 +76,8 @@ ], "scripts": [], "assets": [ - { - "glob": "favicon.ico", - "input": "src/", - "output": "/" - }, - { - "glob": "**/*", - "input": "src/assets", - "output": "/assets" - } + "src/favicon.ico", + "src/assets" ] } }, diff --git a/ponyracer/package.json b/ponyracer/package.json index 56c4e1031..8129827a1 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -12,25 +12,25 @@ }, "private": true, "dependencies": { - "@angular/animations": "^6.0.0-rc.5", - "@angular/common": "^6.0.0-rc.5", - "@angular/compiler": "^6.0.0-rc.5", - "@angular/core": "^6.0.0-rc.5", - "@angular/forms": "^6.0.0-rc.5", - "@angular/http": "^6.0.0-rc.5", - "@angular/platform-browser": "^6.0.0-rc.5", - "@angular/platform-browser-dynamic": "^6.0.0-rc.5", - "@angular/router": "^6.0.0-rc.5", + "@angular/animations": "^6.0.0-rc.6", + "@angular/common": "^6.0.0-rc.6", + "@angular/compiler": "^6.0.0-rc.6", + "@angular/core": "^6.0.0-rc.6", + "@angular/forms": "^6.0.0-rc.6", + "@angular/http": "^6.0.0-rc.6", + "@angular/platform-browser": "^6.0.0-rc.6", + "@angular/platform-browser-dynamic": "^6.0.0-rc.6", + "@angular/router": "^6.0.0-rc.6", "core-js": "^2.5.4", "rxjs": "^6.0.0", "zone.js": "^0.8.26" }, "devDependencies": { - "@angular/compiler-cli": "^6.0.0-rc.5", - "@angular-devkit/build-angular": "~0.5.8", + "@angular/compiler-cli": "^6.0.0-rc.6", + "@angular-devkit/build-angular": "~0.5.11", "typescript": "~2.7.2", - "@angular/cli": "~6.0.0-rc.7", - "@angular/language-service": "^6.0.0-rc.5", + "@angular/cli": "~6.0.0-rc.8", + "@angular/language-service": "^6.0.0-rc.6", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", diff --git a/ponyracer/src/polyfills.ts b/ponyracer/src/polyfills.ts index af8477078..d310405a6 100644 --- a/ponyracer/src/polyfills.ts +++ b/ponyracer/src/polyfills.ts @@ -47,8 +47,9 @@ import 'core-js/es7/reflect'; /** - * Required to support Web Animations `@angular/platform-browser/animations`. - * Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation + * Web Animations `@angular/platform-browser/animations` + * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. + * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). **/ // import 'web-animations-js'; // Run `npm install --save web-animations-js`.