Giter Site home page Giter Site logo

Comments (1)

AviVahl avatar AviVahl commented on June 29, 2024

Thank you for bringing this up.

I aimed to avoid showcasing styling solutions in this repository. I did add a naive css extraction webpack setup for the sanitize.css, but it doesn't have any asset copying (into dist) so it doesn't really support local css assets.

The thing is... each styling solution has its own set of requirements.

CSS-in-JS based solutions, for example, probably won't need to worry about it at all.

Within Wix, we use Stylable, which has its own CLI (stc) to build and/or copy .st.css files into dist.

Full support for source code importing .css/.scss/.less/.whatever requires additional building. It would have to be addressed for Node as well, if one wants to execute mocha on tests importing these source files.

Because of the above, I tend to view this as currently out of the scope for this repository. I'll probably add a note in the README explaining this.

Having said all that, you could probably write a short asset copying script to build/copy .css assets from src to dist. If there's specific assistance you need, please let me know.

from sample-monorepo.

Related Issues (15)

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.