Modernizing build/bundling
See original GitHub issueAs 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:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
@joelgriffith Just wanted to say thanks for your awesome contribution!