File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ pkg_web(
253253 # Include polyfills that will be requested by old browsers
254254 "@npm//:node_modules/systemjs/dist/system.js" ,
255255 "@npm//:node_modules/core-js/client/core.min.js" ,
256- # NOW needed ? "index.html",
256+ "index.html" ,
257257 ],
258258 # In production mode we serve some polyfills with script tags that have hard-coded paths in the index.html
259259 # so we must serve them at that path, by stripping a prefix
Original file line number Diff line number Diff line change @@ -12,13 +12,6 @@ const app = express();
1212const port = process . env . PORT || 4000 ;
1313const DIST_FOLDER = join ( process . cwd ( ) , 'src/pwa' ) ;
1414
15- /**
16- * text compression for smaller download sizes and thus faster load times
17- * without compression: 1.4 MB
18- * with compresion: 321 kB
19- */
20- app . use ( compression ( ) ) ;
21-
2215app . engine ( 'html' , ngExpressEngine ( { bootstrap : AppServerModule } ) as any ) ;
2316app . set ( 'view engine' , 'html' ) ;
2417app . set ( 'views' , DIST_FOLDER ) ;
You can’t perform that action at this time.
0 commit comments