These are chat archives for assetgraph/assetgraph

11th
Feb 2017
Peter Müller
@Munter
Feb 11 14:25
Andreas Lind
@papandreou
Feb 11 15:13
Hmm, what does it do?
Peter Müller
@Munter
Feb 11 15:14
Load compilation output from webpack into assetgraph, populate, load in any newly discovered assets that webpack didn't pick up
So, webpack is not really good with non-js assets, especially anything that starts with html as an entry point. But assetgraph is.
At work I currently maintain a manually curated manifest of filed that need to be copied into the output directory after a build. favicons, serviceworker, web manifest, open graph images, non-webpack html-pages and all their sub dependencies
This can now happen automatically
Andreas Lind
@papandreou
Feb 11 15:29
I thought the bundleWebpack transform already did this? Or at least had it in scope?
Peter Müller
@Munter
Feb 11 15:30
This is the inverse function. Run assetgraph inside a webpack plugin
Andreas Lind
@papandreou
Feb 11 15:30
Ah...
The battle for being at the top of the stack :)
Peter Müller
@Munter
Feb 11 15:30
A more likely vector for publicity
This solves the problem of having to guess and discover the webpack config location, and lets people try out how it works without changing their existing stack
If it works it should also be a proof of concept of things working with assetgraph running the stack, which can then fuel a simplification in config, since we can handle renaming etc
Andreas Lind
@papandreou
Feb 11 16:09
Not a bad idea!
Peter Müller
@Munter
Feb 11 16:11
Sean os steering his webpack talk now. Last talk of the day
Andreas Lind
@papandreou
Feb 11 16:19
I'll try to be there at about 19