I've seen this phrase used a few README's of Sketch plugins, most notably in the acknowledgements section of Sketch's official svgo-compressor.
Andrey Shakhmin, for his inspiration during the Hamburg Hackathon, where he showed us how to use node modules inside Sketch.
Does anyone have any details on how to do this?
The source for sago-compressor plugin is obviously generated. I'd love to know what the development environment / setup is for this plugin, if anyone knows how or if someone from Sketch would care to elaborate.
manovotny check the development branch in the svgo-compressor repo: https://github.com/BohemianCoding/svgo-compressor/tree/development
You can look at https://github.com/sketch-pm/skpm#im-a-plugin-developer
These are fantastic examples!
Thanks mathieudutour and ale!
@ale, everything makes sense in the development branch, but can you briefly explain the ___svgo_run_handler_ magic (or "hack", as the source code calls it)?
Just an update here...
@ale, you're still free to explain the magic if you want, but I also go plugin development working very will with webpack.
I'll share what I have when I'm a bit further along.