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

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

Merged
merged 1 commit into from Oct 17, 2019
Merged

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

merged 1 commit into from Oct 17, 2019

Conversation

DRoet
Copy link
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
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
Member

Choose a reason for hiding this comment

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

Why?

Copy link
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants