Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Not all js files are bundled via aurelia-cli #17
I'm submitting a bug report
Please tell us about your environment:
(Usually, the browser ends up finding them in node_modules, so the issue is less noticable then.)
This reproduces both in app-ux-showcase and any other app that uses aurelia-ux via Aurelia-cli in the same manner.
Adding "./button/ux-button.js" to "resources" in aurelia.json is a workaround. (It appears to take in all of the above automatically)
Assuming you have the Aurelia UX project in the same directory as your App-UX-Showcase project, a list of instructions to build UX components and bring them over to the showcase to test would be:
This is currently what I'm doing, and appears to work fine for me.
To clarify, this issue doesn't prevent app-ux-showcase (or other aurelia-ux apps) from running normally, it just causes the browser to depend on files in node_modules.
I'm reporting the issue because once you try to use an AureliaUX-using app in an environment where the browser can't access node_modules, this issue causes an error.