Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit 413c32d

Browse files
committed
explain mode: developement
1 parent 09d8a75 commit 413c32d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/server-side-rendering/webpack.server.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const path = require('path');
44
const webpack = require('webpack');
55

66
module.exports = {
7-
mode: 'development',
7+
mode: 'development', // this is needed as a workaround for this angular-cli issue: https://github.com/angular/angular-cli/issues/8616
88
entry: {
99
// This is our Express server for Dynamic universal
1010
server: './server.ts',
@@ -14,7 +14,7 @@ module.exports = {
1414
target: 'node',
1515
resolve: { extensions: ['.ts', '.js'] },
1616
// Make sure we include all node_modules etc
17-
externals: [/(node_modules|main\..*\.js)/,],
17+
externals: [/(node_modules|main\..*\.js)/],
1818
output: {
1919
// Puts the output at the root of the dist folder
2020
path: path.join(__dirname, 'dist'),

0 commit comments

Comments
 (0)