Skip to content

Will this line ever result in returning {}? #360

@VictorioBerra

Description

@VictorioBerra

https://github.com/preboot/angular-webpack/blob/51c72e481eecdaa461b8c3a1f021d2f2064e4b80/webpack.config.js#L44:L49

  if (!isTest) {
    config.entry = isTest ? {} : {

We only get this far if !isTest === true. With that logic, config.entry will never be an empty object.

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