Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Lesson 11 typo #280

Open
Open
@lainglo

Description

@lainglo

Right at the start of the lesson it says:

In the root directly, go open up webpack.config.js and add the publicPath '/' as per below:

// webpack.config.js
  output: {
    path: 'public',
    filename: 'bundle.js',
    publicPath: '/'
  },

However, the path "public" has not been defined yet at this stage of the lesson (only gets defined later). The result of this is that my server runs but the pages are not loaded. If I remove "path: 'public' " from the file, it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions