question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi guys, it seems like a bug - https://github.com/dlmanning/gulp-sass/blob/master/index.js#L36 We may have chance to add extra data to libsass, e.q:

.pipe($.sass({
      sourceComments: !BUILD,
      indentedSyntax: true,
      data: "$ENV: \"" + (BUILD ? "PROD" : "DEV") + "\";",
      outputStyle: BUILD ? 'nested' : 'nested',

What do you think?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:17 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
somewebmediacommented, Feb 16, 2016

@cheapsteak Use gulp-insert

var insert = require('gulp-insert');

stream.pipe(insert.prepend('$assetPath: "' + settings.assetPath + '"'));
2reactions
cheapsteakcommented, Feb 15, 2016

Please update the documentation to make it clear which options for node-sass you support and which are ignored.

Wasted quite a bit of time trying to debug what I’m doing wrong because I read this:

Pass in options just like you would for node-sass; they will be passed along just as if you were using node-sass.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Data Options
Data options are sheet level options, which are specific to the worksheet for which they are set. Note: Not all data providers support...
Read more >
HTML option data-* Attribute - Dofactory
The data-* attribute adds custom information to an <option> element. The * part is replaced with a lowercase string, such as data-id, data-cost,...
Read more >
View or change cellular data settings on iPhone - Apple Support
Choose cellular data options for data usage, performance, battery life, and more. To turn Cellular Data on or off, go to Settings >...
Read more >
What is the Flexible Data Option? - Xfinity
The Flexible Data Option is available to our Economy Plus and Performance Starter customers and is specifically designed for casual or light Internet...
Read more >
DataTables
data employed to read from specific object properties. Using this initialisation option can be useful when creating a table from a Javascript data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found