Skip to content

stylePreprocessorOptions includePaths do not work in 6.0.0-beta.6 #10007

Closed
@euangoddard

Description

@euangoddard

Versions

@angular/cli: 6.0.0-beta.6
@angular-devkit/architect: 0.0.7
@angular-devkit/build-optimizer: 0.4.6
@angular-devkit/build-webpack: 0.0.7
@angular-devkit/core: 0.4.6
@angular-devkit/schematics: 0.4.6
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 6.0.0-beta.6
@schematics/angular: 0.4.6
@schematics/package-update: 0.4.6
typescript: 2.7.2
webpack: 4.1.1

Repro steps

  • Set up a brand new CLI project using ng new --next ng6
  • Configure the files as per this E2E test

Observed behavior

ERROR in ../node_modules/@angular-devkit/build-webpack/src/angular-cli-files/plugins/raw-css-loader.js!../node_modules/postcss-loader/lib??embedded!../node_modules/sass-loader/lib/loader.js??ref--14-3!./styles.scss
Module build failed: 
@import "variables";
^
      File to import not found or unreadable: variables.
Parent style sheet: stdin
      in /Users/euan/Sites/ng6/src/styles.scss (line 2, column 1)

Desired behavior

This type of SCSS/Sass import should work out of the box.

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