aurelia-dragula icon indicating copy to clipboard operation
aurelia-dragula copied to clipboard

Bundling needs lot of manual work

Open Krossmaskinen opened this issue 7 years ago • 2 comments

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.

Krossmaskinen avatar Oct 03 '17 13:10 Krossmaskinen

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

michaelmalonenz avatar Oct 04 '17 07:10 michaelmalonenz

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.

pndewit avatar Apr 20 '18 07:04 pndewit