https://github.com/osquery/osquery logo
Title
c

Chris Broome

07/17/2019, 6:00 PM
couple of development questions about kolide/fleet: 1) Are there plans to split the API code from the frontend code? 2) Are there plans to support better frontend development tooling (latest webpack, hot module replacement, webpack dev server, etc)
z

zwass

07/17/2019, 6:13 PM
API and frontend are already split. The frontend uses the API. I intend to upgrade webpack and other dependencies soon. HMR would be awesome but I'm not sure how difficult that is to get in.
Would be awesome if you are able to help on any of those.
c

Chris Broome

07/17/2019, 7:29 PM
sorry just saw your reply
yeah I was just trying to get HMR working locally
I upgraded webpack to 4.0 but a lot changed and it was complaining about some of the plugins
I saw your recent comment commit upgraded webpack to ~3 so that’s a great start!
z

zwass

07/17/2019, 7:33 PM
Yeah I actually just did the Webpack 3->4 upgrade for osquery.io and it sucked but I got it working eventually.
Figured I could use that experience to do the same for Fleet.
c

Chris Broome

07/17/2019, 7:35 PM
yeah it’s definitely not a fun experience configuring webpack
I see that you made a
webpack4
branch 🙂
z

zwass

07/25/2019, 4:11 PM
Yeah it seems to work. Maybe you can pull it down and see how it goes for ya?
c

Chris Broome

07/25/2019, 5:08 PM
yeah I’m definitely gonna do that soon
webpack4
looks good on my machine
z

zwass

07/26/2019, 10:38 PM
Nice, thanks for checking it out. I'm going to merge that branch. As far as HMR goes I'm not planning to implement that as we are currently not using the webpack dev server or middleware so I think it would be quite a bit of work.
c

Chris Broome

07/29/2019, 2:25 PM
👍