Skip to content

Build failure: "erro: "entryFile" is not defined." #96

Description

@madoar

Describe the bug
I'm currently updating the dev dependencies of the angular component library angular-archwizard.
While updating a bunch of dependencies (see here for the performed changes) I ran into a build failure that occurred during the execution of scss-bundle (see here for the error log).

The build failed with the following error message:

[20:59:56] erro: "entryFile" is not defined.

I am not sure why scss-bundle can't find entryFile, because it is defined inside the scss-bundle.config.json file which consists of:

{
    "bundlerOptions": {
        "entryFile": "./src/css/archwizard.scss",
        "outFile": "./dist/archwizard.scss",
        "logLevel": "warning"
    }
}

The error occurs with scss-bundle version ~3.1.2.
When using scss-bundle version ~3.0.0, the error does not occur.

To Reproduce
Steps to reproduce the behavior:

  1. Clone angular-archwizard using git clone git@github.com:madoar/angular-archwizard.git
  2. Install all necessary dependencies for angular-archwizard using npm i
  3. Build angular-archwizard using npm run build
  4. See error

Expected behavior
The build to succeed.

Package version: v3.1.2
Node version: v12.18.4
OS: Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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