Giter Site home page Giter Site logo

Provide bower package about tippyjs HOT 2 CLOSED

atomiks avatar atomiks commented on August 24, 2024 1
Provide bower package

from tippyjs.

Comments (2)

atomiks avatar atomiks commented on August 24, 2024 2

^ good points, don't think I'll provide a bower package for now.

from tippyjs.

FezVrasta avatar FezVrasta commented on August 24, 2024

The problem with Bower is that you need to keep the compiled source code in the repository and it kinda sucks because it's difficult to manage the diffs.

Also, they suggest to don't use Bower on their own website...

...psst! While Bower is maintained, we recommend yarn and webpack for new front-end projects!
via | https://bower.io/search/

I would suggest to use an approach similar to the one used by Popper.js, let Bower rely on unpkg.com (which serves files from npmjs.org).

Doing so, you could do:

bower install tooltip.js=https://unpkg.com/tippy.js --save

But at the moment, the main field of the package.json is an ESnext file and wouldn't work with Bower.

We first need to address #9 and provide an .es5.js bundle set as main field (alongside a jsnext:main field with the es6 bundle)

from tippyjs.

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.