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

Add quietDeps and verbose to the JS API #1353

Merged
merged 1 commit into from Jun 15, 2021
Merged

Add quietDeps and verbose to the JS API #1353

merged 1 commit into from Jun 15, 2021

Conversation

nex3
Copy link
Contributor

@nex3 nex3 commented Jun 12, 2021

To support this, we now run Node-Sass-style relative loads outside of
the Node importer. This allows the evaluator to check whether a
relative load succeeded and use that to determine whether the
stylesheet counts as a dependency.

See sass/sass#3065
See sass/sass#3078

To support this, we now run Node-Sass-style relative loads outside of
the Node importer. This allows the evaluator to check whether a
relative load succeeded and use that to determine whether the
stylesheet counts as a dependency.

See sass/sass#3065
@nex3 nex3 requested a review from Awjin June 12, 2021 00:06
@nex3 nex3 merged commit 7e37166 into master Jun 15, 2021
@nex3 nex3 deleted the quiet-deps-js branch June 15, 2021 00:41
@@ -106,6 +106,8 @@ Future<RenderResult> _renderAsync(RenderOptions options) async {
indentWidth: _parseIndentWidth(options.indentWidth),
lineFeed: _parseLineFeed(options.linefeed),
url: file == null ? 'stdin' : p.toUri(file).toString(),
quietDeps: options.quietDeps ?? false,
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this use the isTruthy helper as done for other options ?

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