Git Product home page Git Product logo

Comments (2)

JedWatson avatar JedWatson commented on July 17, 2024

Hi @astrauka,

This was added explicitly in response to #28 so that the license is preserved when you ship classnames with your app.

I believe this is similar to other packages you may include with licenses (e.g. React, etc)

According to the license, you must preserve the copyright when including the code in your app, however if you handle this separately with regards to crediting OSS packages in your project I'm happy for you to deal with that however you like for minified code :)

However, this is code that's taken a nontrivial amount of time to develop & maintain so I do appreciate the credit as a minimum in return.

from classnames.

astrauka avatar astrauka commented on July 17, 2024

Thank you for the answer :) what I just noticed is that I am separating code to vendor and app bundles and all the libs should go to bundle, but classnames got into app. So that was the actual issue. Will profile produced JS to figure out how to put the package next to other vendor assets.
And the trick is to add 'classnames/bind' instead of 'classnames' to vendor bundle entries.

from classnames.

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.