Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

fix: add support for sass-loader > 8.0.0#122

Merged
johnleider merged 1 commit intovuetifyjs:masterfrom
DRoet:fix/sass-loader-v8
Oct 17, 2019
Merged

fix: add support for sass-loader > 8.0.0#122
johnleider merged 1 commit intovuetifyjs:masterfrom
DRoet:fix/sass-loader-v8

Conversation

@DRoet
Copy link
Copy Markdown
Contributor

@DRoet DRoet commented Oct 14, 2019

fixes #119.

We should probably also install 8.0.0 in our generator (https://github.com/vuetifyjs/vue-cli-plugin-vuetify/blob/dev/generator/tools/alaCarte.js#L6)
Since @vue/cli now also installs 8.0.0 ever since 3.12.0 and 4.0.0-rc4

@johnleider johnleider merged commit 25baea2 into vuetifyjs:master Oct 17, 2019
opt.data = data.join('\n')
let sassLoaderVersion
try {
sassLoaderVersion = semver.major(require('sass-loader/package.json').version)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sass-loader should be declared in peerDependencies

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Copy Markdown
Contributor

@merceyz merceyz Oct 22, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To support Yarn PnP, but most importantly, to ensure the package manager is aware of it so it can place it in a location where vue-cli-plugin-vuetify can require it.

It can be marked as a optional peer dependency to avoid warnings

cc @arcanis

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants