Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

feat(sass): add conditional sass deps for webpack #355

Merged
merged 1 commit into from
Dec 18, 2017

Conversation

MartoYankov
Copy link
Contributor

Add sass dependency only if the dev-sass plugin is already installed.

Add sass dependency only if the dev-sass plugin is already installed.
@@ -76,6 +76,10 @@ function getRequiredDeps(packageJson) {
Object.assign(deps, { "awesome-typescript-loader": "~3.1.3" });
}

if (isSass({packageJson})) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we need also node-sass?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. It turns out node-sass is a dep to sass-loader. :)

@vchimev vchimev merged commit f51241c into master Dec 18, 2017
@vchimev vchimev deleted the myankov/add-sass-deps branch December 18, 2017 11:42
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