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

Compatibility with sass-loader v9 #190

Closed
Thibaud-R opened this issue Jul 13, 2020 · 1 comment
Closed

Compatibility with sass-loader v9 #190

Thibaud-R opened this issue Jul 13, 2020 · 1 comment

Comments

@Thibaud-R
Copy link

Thibaud-R commented Jul 13, 2020

The sass-loader v9 and its new syntax for prependData is not taken in account in vue-cli-plugins v0.0.7.

Line 100 of index.js should be:
// Merge with user-defined loader data config
if (sassLoaderVersion < 8) opt.data = variables
else if (sassLoaderVersion < 9) opt.prependData = variables
else opt.additionalData = variables

All preset failed to compil, without the last 2 lines.

@Thibaud-R
Copy link
Author

Sorry duplicate and already manage in the PR pull #185

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant