0

My scss file is in project/repo/style/home/index.scss and want save compiled css file in project/repo/dist/style/home/index.css but can not find any good solution.

How to do that?

2

1 Answer 1

1

i found answer: after install ruby and sass need restart system.

Webstorm is configured with the following parameters:

Program: /usr/bin/sass
Arguments: --no-cache --style compressed --update --sourcemap=none $FileName$:$ProjectFileDir$/repo/Style/$FileDirPathFromParent(Style)$/$FileNameWithoutExtension$.min.css
Working directory: $FileDir$
Output path:$ProjectFileDir$/repo/Style/$FileDirPathFromParent(Style)$/$FileNameWithoutExtension$.css
Sign up to request clarification or add additional context in comments.

1 Comment

--style compressed set minify & --sourcemap=none disable source map. can remove.

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.