The way your docs work, one needs something like webpack to compile it (e.g. the import syntax import { getXDWrapper } = "xd-json-wrapper"; wouldn't work since XD – by itself – doesn't allow to just add npm modules by importing them without a full path) (what I meant to say is that XD can't resolve such paths 😉).
Therefore, I suggest (I understand how to use it – this is more for new users) to standardize the docs (to work without a build system) so the helper can get integrated into "bare-bones" plugins for Adobe XD and not just plugins that use a complex system like webpack.
Don't get me wrong here: The fact that you published this via npm is great – it's just that this is meant as a helper for plugins in general and not just for plugins that use webpack 😉 – people who are sophisticated enough to use webpack for their plugins will probably understand how to use it anyway.
By the way: Thank you very much for this great library – it's a real time saver 👍
The way your docs work, one needs something like webpack to compile it (e.g. the import syntax
import { getXDWrapper } = "xd-json-wrapper";wouldn't work since XD – by itself – doesn't allow to just add npm modules by importing them without a full path) (what I meant to say is that XD can't resolve such paths 😉).Therefore, I suggest (I understand how to use it – this is more for new users) to standardize the docs (to work without a build system) so the helper can get integrated into "bare-bones" plugins for Adobe XD and not just plugins that use a complex system like webpack.
Don't get me wrong here: The fact that you published this via npm is great – it's just that this is meant as a helper for plugins in general and not just for plugins that use webpack 😉 – people who are sophisticated enough to use webpack for their plugins will probably understand how to use it anyway.
By the way: Thank you very much for this great library – it's a real time saver 👍