Skip to content

Not all js files are bundled via aurelia-cli #17

@llicht

Description

@llicht

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions