aurelia / bundler

A library for bundling JavaScript, HTML and CSS for use with SystemJS.
MIT License
37 stars 25 forks source link

app-bundle.js not fetched when using `gulp serve-bundle` on jspm 0.17 #167

Closed toonevdb closed 4 years ago

toonevdb commented 6 years ago

I'm submitting a bug report

Please tell us about your environment:

Current behavior: The browser does not request the app-bundle.js defined in 'build/bundjes.js'.

Expected/desired behavior: The browser requests app-bundle.js instead of the individual files.

Description

After updating the typescript skeleton app to jspm 0.17, the app bundle is no longer requested. It seems the wildcard paths are no longer supported and the prefix 'dist/' has to be added in the bundles jspm config.

To reproduce, please check this repo, it contains a bit more info.

I'm not sure if the issue lies with jspm or aurelia-bundler but it seems that aurelia-bundler is writing the bundles config. There might be some config option to add the prefix but didn't found any.

Another thing I had to do, was change <body aurelia-app="main"> to <body aurelia-app="dist/main"> in index.html. Might be relevant.

EisenbergEffect commented 4 years ago

Closing this issue. The aurelia-bundler library has been superseded by the aurelia-cli.