Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bundling needs lot of manual work #40

Open
Krossmaskinen opened this issue Oct 3, 2017 · 2 comments
Open

Bundling needs lot of manual work #40

Krossmaskinen opened this issue Oct 3, 2017 · 2 comments

Comments

@Krossmaskinen
Copy link
Contributor

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.

@michaelmalonenz
Copy link
Owner

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

@pndewit
Copy link

pndewit commented Apr 20, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants