-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
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');
Metadata
Metadata
Assignees
Labels
No labels