0

Is there a way that I can export SCSS files of few components in my angular project as assets of my project while creating a production build?

If I can then I would like to export them in CSS format so that I can use them somewhere else.

5
  • this may help you stackoverflow.com/questions/46532268/… Commented Feb 12, 2019 at 8:40
  • that just gives me styles.bundle.css what I need is few of the component's CSS in my assets folder as .css files. For example if I have a component abc and that component uses abc.component.scss file for styling. What I need is in my production build may be inside assets folder or any other folder to get abc.component.scss file as abc.css file. Commented Feb 12, 2019 at 9:43
  • or at least if I can get that components style in my angular code in a variable even that will work. Commented Feb 12, 2019 at 9:52
  • @PritamKadam check this without angular. May help. Commented Feb 12, 2019 at 13:28
  • I think the only way to achieve this is by creating redundant CSS. Unfortunately. Commented Feb 13, 2019 at 8:43

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.