Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
63 views
in Technique[技术] by (71.8m points)

node.js - How to compile scss file to css with all its dependencies?

I have a single main.scss file whose contents are like:

@import 'styles1.css'
@import 'styles2.scss'
@import 'node_modules/ext_lib/styles.css'
@import 'node_modules/ext_lib2/styles.scss'

How can a create a single main.css file from main.scss file that has all the imports copied over into it, so that I can just use this file and deploy to my project in production?

question from:https://stackoverflow.com/questions/65885043/how-to-compile-scss-file-to-css-with-all-its-dependencies

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...