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.

Let’s wait until somebody asks before implementing but… I think a vendor folder that just gets copied into the output could be a useful escape hatch. For example, if you have a global script that isn’t UMD-friendly, you want to have some way of importing it. With a vendor folder, you could just put it there, reference it from index.html, and read from window in your bundle.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:12
  • Comments:35 (18 by maintainers)

github_iconTop GitHub Comments

9reactions
baadc0decommented, Jul 26, 2016

I’ve been using static for some time now, with good understanding from the rest of the team(s) about it containing purely copied, unprocessed assets. It has been a useful crutch for when a resource path is dynamically generated and/or webpack processing is not required/wanted.

8reactions
mxstbrcommented, Jul 26, 2016

I love static, working on a PR now! 🚢

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the difference between the "lib" and "vendor" folders?
lib is where libraries by the original author of the project are located (if that's not me), whereas vendor is where the original...
Read more >
What Is the Vendor Directory? - Tom McFarlin
The Vendor Directory? When it comes to working on projects, most of them are going to include some type of third-party libraries. The...
Read more >
Use of vendor folder in web design - Stack Overflow
No, the lib folder is for libraries exclusive to your site/app whereas your vendor folder has images, CSS, js, etc that are third-party...
Read more >
Understanding and using the vendor folder | Gopher Academy ...
Understanding and using the vendor folder. With the release of Go 1.5, there is a new way the go tool can discover go...
Read more >
Creating a Vendor Directory & Choosing What Documents ...
Creating a Vendor Directory & Choosing What Documents & Folders to Display · Image Gallery – to display pictures for products/services offered.
Read more >

github_iconTop Related Medium Post

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