bryanrsmith / aurelia-binding-loader

An Aurelia loader for using any module directly from a view template
MIT License
11 stars 1 forks source link

CSS modules cannot be loaded when bundled #4

Open halllo opened 7 years ago

halllo commented 7 years ago

In a bundled Aurelia application it seems that a CSS module cannot be loaded:

<require from="./module1.css!css!bind" as="module1"></require>

"GET /dist/module1.css" Error (404): "Not found"

It can be reproduced in https://github.com/halllo/AureliaTutorial/tree/master/materialize-starter.

bryanrsmith commented 7 years ago

Thanks, @halllo. Sorry, but I don't have much time to spare right now. I'd be happy to take a PR for this, though.