question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Strip Sass extension from output file

See original GitHub issue

Using this simple script here:

import sassutils.builder

result = sassutils.builder.build_directory(".", ".", "compressed")
print(result)  # Outputs {'style.scss': 'style.scss.css'}

And indeed, the output file name is style.scss.css. Ideally it should be called simply style.css. 😃

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:39 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
asottilecommented, Sep 12, 2018

not yet – soon!

0reactions
asottilecommented, Dec 13, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unwanted Sass file generated to output path #633 - GitHub
scss file inside my output directory whenever I would edit a.scss . Here is my webpack config: const path = require("path"); const ...
Read more >
How to setup output path to compiled css files using `vscode ...
Go to VScode menu- file>preferences>settings>extension>live sass copile ... This goes to the project root and saves the css files inside the ...
Read more >
Sass: @import
Sass extends CSS's @import rule with the ability to import Sass and CSS stylesheets, providing access to mixins, functions, and variables and combining ......
Read more >
MiniCssExtractPlugin - webpack
In the example below, we'll use filename to output the generated css into a different directory. webpack.config.js const MiniCssExtractPlugin = require("mini- ...
Read more >
How to configure webpack to output multiple css files from sass
Hi I have a webpack config that takes multiple scss file based on a ... import * as MiniCssExtractPlugin from "mini-css-extract-plugin"; ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found