I have a Stylus file similar to
@import init @import typography @import colors @import 'components/*' @import '3rdparty-stylesheet.css'
The last line is the CSS file that I get from a third-party plugin that I want to not just stay as it compiles into CSS, but all the content of this file that needs to be inserted. I am using gulp.
How can i achieve this?
I found how to enable this option:
gulp.src('./app/styl/style.styl') .pipe(stylus({ 'include css': true })) .pipe(gulp.dest('./dist/css'));
And now it works like a charm, it puts all the imported CSS content into one compiled file.
For the command line, I use this.
stylus --include-css index.styl
which is convenient for me to test ... before including it in the build process.
Source: https://habr.com/ru/post/985854/More articles:How to pass state className variable to another component in reaction - reactjsRaphaeljs IE8 setViewBox not working - internet-explorer-8How to split Azure tables used to store logs - loggingRaphael.js getBBox function returns NAN / NAN / NAN in IE8 - javascriptCustom Table View TableView Overrides Table View Cells - iosLaravel Auth to check only administrator / superuser - phpSetting container volume to another container on another path - dockerhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/985857/storing-rest-requests-with-service-workers-to-sync-them&usg=ALkJrhh4UElmox4PCb1YQQqcxHPCUpn9bgFilemaker field not found - phpJava synchronized list between threads. Best Practice - javaAll Articles