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

scss to css failed with dart_sass_transformer #4133

Closed
alescdb opened this issue Jan 25, 2017 · 2 comments
Closed

scss to css failed with dart_sass_transformer #4133

alescdb opened this issue Jan 25, 2017 · 2 comments

Comments

@alescdb
Copy link

alescdb commented Jan 25, 2017

Description

Building scss with dart_sass_transformer (https://pub.dartlang.org/packages/dart_sass_transformer) via pub build failed because of the points (.) in the filenames of default.date.sass and default.time.sass.

Renaming files with an underscore (or a dash) resolve this issue.

Screenshots / Codepen

Build error:
Transform Sass on project|web/sass/style.scss threw error: could not resolve import 'Instance of '_SassImport'' (tried [project|web/sass/materialize/components/date_picker/default.date, project|web/sass/materialize/components/date_picker/_default.date])
null
@kmmbvnr
Copy link
Contributor

kmmbvnr commented Jan 25, 2017

This sounds more like issue for dart_sass_transformer

@alescdb
Copy link
Author

alescdb commented Jan 25, 2017

It seems to be.
But it may happen with other scss tools, because the '.date'/'.time' can be mistaken for a file extension.
Also, all other scss files in materialize have a dash or an underscore, it might not cost a lot to rename this two files (it's only a suggestion).

@fega fega closed this as completed Apr 11, 2017
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

No branches or pull requests

3 participants