Gaël Barbin
Gaël Barbin

Reputation: 3919

Build node-webkit with just the functionalities I want

I need a systray for a personal node project. I just found node-webkit which have that functionality in node.

So I'd want to build node-webkit without chromium. Is it possible? because, it said in the doc that "node-webkit is a part of a customed chromium" If not, is there a way to make nw.exe lighter as possible?

Upvotes: 1

Views: 209

Answers (1)

Ewald
Ewald

Reputation: 5751

Sure you can, if you look at the Node Webkit source code, you'll see that components like system tray are written in good old C++, so nothing prevents you from ripping out the bits you do not need.

That being said, are you sure you want to go this way? An installer for a Node Webkit-based application I wrote weighs in at under 30mb in total. For me, it's just not worth the effort to try and rip out bits I do not need.

Upvotes: 2

Related Questions