Code Monkey home page Code Monkey logo

Comments (5)

koenvzeijl avatar koenvzeijl commented on August 10, 2024

Hi @patricksadowski , I totally get what you mean. But it's actually optional to use the input and output folders as you can also make use of the ScopedCssFolders and set GenerateScopedCss to true. Let me know if this solves your problem

from aspnetcore.sasscompiler.

patricksadowski avatar patricksadowski commented on August 10, 2024

My current sasscompiler.json contains

{
    "Arguments": "--no-source-map --style=compressed",
    "ScopedCssFolders": ["."]
}

and it's working. So, the thanks are yours.

Now, I have to copy the configuration to several projects in the same repo. I would like to place the configuration once in root. That would be a great feature: use the configuration up in the directory tree. Even better would be a "install and forget" package for a simple sass compilation use case without configuration 😉

from aspnetcore.sasscompiler.

patricksadowski avatar patricksadowski commented on August 10, 2024

Shall I file new issues for the mentioned features or does this issue care for the new feature requests?

from aspnetcore.sasscompiler.

koenvzeijl avatar koenvzeijl commented on August 10, 2024

@patricksadowski We have an install and forget option as it already uses the defaults. But the default looks in the /Styles folder and compiles the files to the wwwroot/css folder. I think this is the most common use case. Do you agree? I understand that using the ScopedCssFolders wildcard is very useful for your project but may cause unwanted files to be generated for other users. Please tell me if I overlook something here.

from aspnetcore.sasscompiler.

patricksadowski avatar patricksadowski commented on August 10, 2024

@koenvzeijl I agree. We changed some points in our repo so your package fits better.

from aspnetcore.sasscompiler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.