Skip to content

missing loader for Sass in generated config file #985

Description

@DanielRuf

Describe the bug

I have installed the latest version of webpack-cli and @webpack-cli/init but it still does not add sass-loader to the config.

Is this by design?

What is the current behavior?

Scaffolding a project with the Sass answer does not add the needed sass-loader.

To Reproduce
Steps to reproduce the behavior:

  1. Run webpack-cli init
  2. Choose the SASS option
  3. Check the generated webpack.config.js

Expected behavior
The generated config should have the sass-loader.

Please paste the results of webpack-cli info here, and mention other relevant information

  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz
  Binaries:
    Node: 12.4.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\node.EXE
    Yarn: 1.13.0 - ~\scoop\apps\yarn\current\Yarn\bin\yarn.CMD
    npm: 6.9.0 - ~\scoop\apps\nvm\current\nodejs\nodejs\npm.CMD

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions