You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using include-media installed by yarn, index.js is imported instead of proper .scss file.
console output for a sass file that begins with "@import include-media":
yarn sass
yarn sass v0.16.1
$ gulp sass
[14:10:08] Using gulpfile ~/.../gulpfile.js
[14:10:08] Starting 'sass'...
[14:10:08] gulp-notify: [Sass error] Error in plugin 'gulp-sass'
Message:
node_modules/include-media/index.js
Error: Invalid CSS after "v": expected 1 selector or at-rule, was "var path = require("
on line 1 of node_modules/include-media/index.js
>> var path = require('path');
^
Details:
status: 1
file: /home/.../node_modules/include-media/index.js
line: 1
column: 1
formatted: Error: Invalid CSS after "v": expected 1 selector or at-rule, was "var path = require("
on line 1 of node_modules/include-media/index.js
>> var path = require('path');
The text was updated successfully, but these errors were encountered:
When using include-media installed by yarn, index.js is imported instead of proper .scss file.
console output for a sass file that begins with "@import include-media":
The text was updated successfully, but these errors were encountered: