Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

options has an unknown property 'includePaths'. if .scss file is empty #756

Closed
kambbado opened this issue Sep 4, 2019 · 2 comments
Closed

options has an unknown property 'includePaths'. if .scss file is empty #756

kambbado opened this issue Sep 4, 2019 · 2 comments

Comments

@kambbado
Copy link

@kambbado kambbado commented Sep 4, 2019

Hello,

I updated to version 8.0.0 and started getting the error below for all .scss files that are empty.
I'm not sure if I missed something

Module build failed (from ./node_modules/sass-loader/dist/cjs.js):
ValidationError: Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema.

  • options has an unknown property 'includePaths'. These properties are valid:
    object { implementation?, sassOptions?, prependData?, sourceMap?, webpackImporter? }
@evilebottnawi

This comment has been minimized.

Copy link
Member

@evilebottnawi evilebottnawi commented Sep 5, 2019

You can see error and fix problem in setup, move includePaths in sassOptions, pelase read CHANGELOG before open issue

@tony-kopanev

This comment has been minimized.

Copy link

@tony-kopanev tony-kopanev commented Sep 14, 2019

`More about includePaths in sassOptions is here.

  {
    loader: 'sass-loader',
    options: {
      sassOptions: {
        includePaths: [
          // ... <your path>
        ]
      }
    }
  }`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.