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
{{ message }}
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.
I tried to import test.scss into app.scss with a glob pattern:
// app.scss@import"base/*";
On yarn run blendid I got the following error:
gulp-notify: [Error running Gulp] Error in plugin 'gulp-sass'
Message:
../base/index.js
Error:
Invalid CSS after "'":
expected 1 selector or at-rule, was "'use strict';"
on line 1 of ../base/index.js
from line 2 of base/*
from line 1 of ../../src/stylesheets/app.scss
>> 'use strict';
^
Details:
status:
1
file:
/Users/home/Sites/my-site/node_modules/base/index.js
line:
1
column:
1
formatted:
Error:
Invalid CSS after "'":
expected 1 selector or at-rule, was "'use strict';"
on line 1 of ../base/index.js
from line 2 of base/*
from line 1 of ../../src/stylesheets/app.scss
>> 'use strict';
^
messageFormatted:
../base/index.js
Error:
Invalid CSS after "'":
expected 1 selector or at-rule, was "'use strict';"
on line 1 of ../base/index.js
from line 2 of base/*
from line 1 of ../../src/stylesheets/app.scss
>> 'use strict';
^
messageOriginal:
Invalid CSS after "'":
expected 1 selector or at-rule, was "'use strict';"
relativePath:
../base/index.js
Was able to fix this by changing the name of the stylesheet subfolder:
Starting from a fresh Blendid install, I enabled Sass globbing à la https://github.com/vigetlabs/blendid/blob/32bec577e862d92215b69c7ea88f27aff93a6cc5/extras/http2/config/task-config.js.
Then with the file structure
I tried to import
test.scss
intoapp.scss
with a glob pattern:On
yarn run blendid
I got the following error:Was able to fix this by changing the name of the stylesheet subfolder:
Maybe an includePaths error or similar?
The text was updated successfully, but these errors were encountered: