This repository was archived by the owner on Oct 14, 2024. It is now read-only.

Description
In the universal docs for version 6, which is at:
https://v6.angular.io/guide/universal#step-5-pack-and-run-the-app-on-the-server
there is a bug in the docs.
See heading "Step 5: Pack and run the app on the server"
the webpack server config file should not start with NgModule
@NgModule({
const path = require('path');
const webpack = require('webpack');
but be?
const path = require('path');
const webpack = require('webpack');
// rest of the code here