components icon indicating copy to clipboard operation
components copied to clipboard

Packages don't contain scss files

Open VFedyk opened this issue 10 years ago • 13 comments

I have installed 2.0.0-alpha-5 and there is no SCSS files. What was the reason of doing that?

VFedyk avatar May 26 '16 14:05 VFedyk

I found the reason for this was node-sass hadn't been recompiled.

npm rebuild node-sass fixed it for me.

kreed-rmn avatar May 26 '16 14:05 kreed-rmn

It is how package looks for me now: list-2 0 0-alpha 5 tgz _126

And it is not only in list package.

VFedyk avatar May 26 '16 15:05 VFedyk

The same list package but earlier version: list-2 0 0-alpha 4 1 tgz _127

VFedyk avatar May 26 '16 15:05 VFedyk

I am waiting for theming solution. Current implementation so ugly, in state of npm is even impossible. Sad that no any issue with plan for distribution with theme support and bundling into single css file in case that shadow css isn.t the best solution in some cases

delagen avatar May 26 '16 15:05 delagen

I added an issue but Mister @jelbourn closed it without any explanation.

aminebizid avatar May 26 '16 16:05 aminebizid

The missing scss files wasn't intentional; it was likely due to changes in the angular-cli. We'll look into the problem.

As far as a real theming API: it will come eventually, but in the short term we're focused on having components to theme 😃. Generally, issues asking "When will X be done?" will just be closed.

jelbourn avatar May 26 '16 16:05 jelbourn

I just asked to add a milestone for theming. To know if we workaround it or wait for it.

aminebizid avatar May 26 '16 16:05 aminebizid

@jelbourn, maybe it wasn't intentional but they were in for at least two last versions and we have built project which relies on these files. And then, suddenly, they disappeared. Is it possible to rebuild recent packages?

VFedyk avatar May 26 '16 18:05 VFedyk

Just published an alpha.5-2 which contains the scss source.

jelbourn avatar Jun 01 '16 21:06 jelbourn

@jelbourn Still broken. There is css and scss files now with same name, so @import inside material2 scss files don't know which file should be imported, and returns an error. I think this can be fixed if you put extensions in material2 scss files, or remove all css files from package.

TheCaptainDate avatar Jun 03 '16 07:06 TheCaptainDate

While no any distribution policy It is fun. Because all styles are embedded in source ((

delagen avatar Jun 03 '16 08:06 delagen

What is the recommended way to handle the scss and css in the same directories with the node-sass option (I know the angular-cli "just works" but that isn't an option for some)?

ddjonline avatar Sep 27 '16 12:09 ddjonline

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.