-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
I'm submitting a bug report
- Library Version:
0.1.14
Please tell us about your environment:
-
Operating System:
Windows 7 -
NPM Version:
3.10.9
Current behavior:
When using Aurelia-cli to bundle aurelia-ux (e.g. in the same way app-ux-showcase does), the following js files end up not being bundled but are still attempted to be loaded by aurelia-ux at runtime:
ux-button.js
design-attributes.js
paper-ripple.js
paper-wave.js
element-rect.js
(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)
Expected/desired behavior:
The browser should not need to load files from node_modules to run a Aurelia-ux based app.
- What is the motivation / use case for changing the behavior?
Causes errors when node_modules isn't accessible by browser.