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.

Modernizing build/bundling

See original GitHub issue

As a contributor to graphiql, I’m impeded by the lack of real-time tooling for the project. I frequently have pause development, run a build, reboot a server, and then am able to test changes in a browser. This adds friction to contributors as there’s numerous hoops to jump through in order to test changes. I propose the following (and can implement if there’s buy-in):

  • An npm command for active development. Can be npm run dev or some other variant. It would watch the source files, bundle (NOT minifiy), and start/reboot the example application.
  • Implement one of the css pre-processors. There’s numerous vendor issue in the css due to vendor namespacing (I’m looking at you old-ish IE). This would alleviate that by leaning on other tools like http://lessprefixer.com/

I do NOT want to add:

  • A heavy-weight build manager, like gulp.
  • More npm commands than is necessary.
  • Confusion.

Thoughts? This would obviously introduce some more devDependencies like watchify or similar, but I think the value of which would be worth it. I can tell that there was motivation in this project to keep things “slim”, but since it’s grown in popularity and size the lack of these types of tools is a pain that is growing.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
joelgriffithcommented, Nov 7, 2016

@asiandrummer thanks for reading! You’re right correct, the rules are pretty simple. I think the biggest win is just the vendor prefixing at this point (which could probably be implemented by itself apart from a full-blown preprocessor).

I think at a certain point this project will likely need a preprocessor as the feature base grows. My real desire is to just get vendor prefixing (See my PR for IE10/11 support, which took about an hour of battering around to get working since it requires combing through lots of documentation).

I’ll get an initial PR for this over the next few days and we can tease out what we’d like to keep.

0reactions
asiandrummercommented, Nov 16, 2016

@joelgriffith Just wanted to say thanks for your awesome contribution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimizer.BuildBundle Method (System.Web.Optimization ...
An OptimizationSettings object containing configuration settings for optimization. Return Value. Type: System.Web.Optimization.BundleResponse. The bundle ...
Read more >
Modernizing How We Build - Builder Magazine
Modernizing How We Build. Single-family builders should look to multifamily developments for inspiration. By Frank Anton. Adobe Stock / Romolo Tavani.
Read more >
Integrate asset delivery (Unity) - Android Developers
When integrating asset delivery, Unity games can access asset packs using Addressables or AssetBundles. Addressables are the more recent and ...
Read more >
upgrading plugin on confluence but getting errors
Solved: trying to upgrade a plugin on confluence pre live env but getting this error An unexpected error occurred.
Read more >
The road to native ES6 SPAs - Sean Blanchfield
Instead of upgrading our workstations so we can build an exe, ... Meanwhile, javascript build/bundling performance is horrendous.
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