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

bug in docs v6 angular @NgModule? #689

Open
robvaneck opened this issue Sep 5, 2019 · 0 comments
Open

bug in docs v6 angular @NgModule? #689

robvaneck opened this issue Sep 5, 2019 · 0 comments

Comments

@robvaneck
Copy link

robvaneck commented Sep 5, 2019

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
@robvaneck robvaneck changed the title bug in docs v6 angular bug in docs v6 angular @NgModule? Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant