Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

This repository demonstrates problem to get aurelia working with webpack

Notifications You must be signed in to change notification settings

klinki/aurelia-webpack-issue

Repository files navigation

aurelia-webpack-issue

This repository demonstrates problem to get aurelia working with webpack.

When running au run --watch following exception is thrown in runtime:

css-resource.js?ada4:17 Uncaught (in promise) Error: Failed loading required CSS file: aurelia-notify/style.css
    at fixupCSSUrls (css-resource.js?ada4:17)
    at eval (css-resource.js?ada4:56)
    at <anonymous>

But this exception occurs only when any of following libraries is included.

  <require from="aurelia-bootstrap-datetimepicker/src/bootstrap-datetimepicker-bs4.css"></require>
  <require from="eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css"></require>

(Please note error message is completely unrelated to these libraries).

But webpack configuration doesn't seem to be completely wrong, because in tag working-state it works.

About

This repository demonstrates problem to get aurelia working with webpack

Resources

Stars

Watchers

Forks

Packages

No packages published