Skip to content

Commit

Permalink
fix(ssr): fix angular universal support. Update intersection-observer…
Browse files Browse the repository at this point in the history
…, eva-icons packages. Add ssr in package-smoke for check
  • Loading branch information
denStrigo committed Oct 31, 2019
1 parent b0a7f23 commit 5ed41c0
Show file tree
Hide file tree
Showing 26 changed files with 619 additions and 142 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ testem.log
/docs/output.json
/docs/assets/examples
/docs/dist
/packages-smoke/dist

# e2e
/e2e/*.js
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
"core-js": "2.5.7",
"date-fns": ">=2.0.0-alpha.16 <=2.0.0-alpha.27",
"docsearch.js": "^2.5.2",
"eva-icons": "^1.1.1",
"eva-icons": "^1.1.2",
"gulp-bump": "2.7.0",
"highlight.js": "9.12.0",
"intersection-observer": "0.5.0",
"intersection-observer": "0.7.0",
"ionicons": "2.0.1",
"jasmine-fail-fast": "2.0.0",
"leaflet": "1.0.3",
Expand Down
25 changes: 24 additions & 1 deletion packages-smoke/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/packages-smoke",
"outputPath": "dist/browser",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
Expand Down Expand Up @@ -137,6 +137,29 @@
"**/node_modules/**"
]
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server",
"main": "src/main.server.ts",
"tsConfig": "src/tsconfig.server.json"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"sourceMap": false,
"optimization": {
"scripts": false,
"styles": true
}
}
}
}
}
},
Expand Down
Loading

0 comments on commit 5ed41c0

Please sign in to comment.