aurelia-dragula
aurelia-dragula copied to clipboard
Bundling needs lot of manual work
In bundles.js I have to add:
"aurelia-dragula",
"aurelia-dragula/dragula.css!text",
"aurelia-dragula/dragula-and-drop.html!text",
"aurelia-dragula/dragula-and-drop.js"
for it to work with bundling and exporting.
Since it's an aurelia specific version of dragula it would be awesome if "aurelia-dragula" only would be sufficient.
Hey - I totally agree, that would be a great thing, the trouble is, I don't know where to start - I've already listed the resources in the package.json under the aurelia section, and I can't see what else I might need to do.
I'm looking at aurelia-dialog for inspiration, because I know that you used to have to do similar things there, but I can't see where that changed. If you can point me in the right direction, I'd be happy to take a look
Not entirely sure, but I think you will need to bundle it and write the bundle to the dist
folder. That way people will only need to include that bundle and don't need to worry about the extra resources in their aurelia.json
.