Skip to content

Commit 5f86979

Browse files
committed
chore(): update ssr test app
Enables ES2015 builds and passes the bundleDependencies flag
1 parent 7c48500 commit 5f86979

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

angular/test/test-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
1616
"serve:ssr": "node dist/server",
1717
"build:ssr": "npm run build:client-and-server-bundles && npm run compile:server",
18-
"build:client-and-server-bundles": "npm run build && ng run test-app:server:production"
18+
"build:client-and-server-bundles": "npm run build && ng run test-app:server:production --bundleDependencies all"
1919
},
2020
"dependencies": {
2121
"@angular/animations": "~8.2.0",

angular/test/test-app/tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"sourceMap": true,
77
"declaration": false,
88
"moduleResolution": "node",
9+
"module": "esnext",
10+
"target": "es2015",
911
"emitDecoratorMetadata": true,
1012
"experimentalDecorators": true,
1113
"typeRoots": [

0 commit comments

Comments
 (0)