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

bug in docs v6 angular @NgModule? #689

@robvaneck

Description

@robvaneck

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions