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.

bootstrap-timepicker.css don't install as part of bower package

See original GitHub issue

I install bootstrap-timepicker as bower package bower install bootstrap-timepicker But css folder contains only timepicker.less

How can linked to bootstrap-timepicker.css without compiling less to css in client? I think it’s a good practice to include in bower package all files that ready for deploy

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:5
  • Comments:7

github_iconTop GitHub Comments

5reactions
Choskocommented, Jul 4, 2016

@mrhota Why do you say it’s not a good practice to keep built js and css in source repos?

  1. It’s not nice to force developers to install a LESS preprocessor/JS minifier if they just want to download a ready-to-go built version of your project (not everybody use Grunt and bower)
  2. It allows for easy inclusion of built files in a project via bower (let’s say a dev choose Sass instead of Less for his project… He don’t want to switch to LESS just to include a lib… and he don’t even want to cd into the repo to build things)
  3. You can use a git hook to build the project before to push upstream, so every build belongs to their commit…
  4. In this way you let GIT make what’s meant for: version your code - even the builds
  5. Everybody’s doing it - and these are the reasons

😉

0reactions
rwitchellcommented, Sep 15, 2016

very true @mrhota, here’s to hoping Bower team fix up this issue. However, probably still a good idea for you to include it - as not everyone is compiling their dependencies, and if they are, those people will ignore your minified artifact anyway. better to meet the demands of all of your customers 😉 @ public in the mean time, use online tools like https://jscompress.com/ , http://less2css.org/ , https://cssminifier.com/ , to get your file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can NOT install bower package from Visual Studio / Core 2
Hello, I'm a newbie... I was trying to install Bootstrap bower package on Visual Studio 2017 but I get an ugly error as...
Read more >
unable to run sudo gulp. getting an error "Error - Stack Overflow
After Installing Bower I am able to see the required bootstrap date-picker has been already installed. Need solution how I can run my...
Read more >
bootstrap datetime picker - MSDN - Microsoft
1.Add the bootstrap package in Nuget. You could right click your application -->select Manage Nuget Packages-->in the Browse select bootrap ...
Read more >
Bower — a package manager for the web
Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image ... For troubleshooting installation on different platforms, read the ...
Read more >
goon-bootstrap-timepicker - npm package - Snyk
The npm package goon-bootstrap-timepicker was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package ...
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