# Fixes to aurelia-cli and test a project

**URL:** <https://discourse.aurelia.io/t/fixes-to-aurelia-cli-and-test-a-project/1055>\
**Category:** Uncategorized\
**Created:** [April 8, 2018, 3:25pm UTC](https://discourse.aurelia.io/t/fixes-to-aurelia-cli-and-test-a-project/1055 "2018-04-08T15:25:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![constructor](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/constructor/32/710_2.png) [@constructor](https://discourse.aurelia.io/u/constructor)\
**Post date:** [April 8, 2018, 3:25pm UTC](https://discourse.aurelia.io/t/fixes-to-aurelia-cli-and-test-a-project/1055/1 "2018-04-08T15:25:48Z")

</div>

I made a post on 3/4/18 [here](https://discourse.aurelia.io/t/aurelia-cli-build-issue/1028/7) with some issues I was having with aurelia-cli.  
So, here is a repo with some fixes:

> **[constructor/aurelia-cli-fixes](https://github.com/constructor/aurelia-cli-fixes)**
>
> Aurelia CLI fixes. Contribute to constructor/aurelia-cli-fixes development by creating an account on GitHub.

  
…and here is a repo with a project generated from the above aurelia-cli with fixes.  

> **[constructor/aurelia-cli-test](https://github.com/constructor/aurelia-cli-test)**
>
> Test app generated with aurelia-cli containing fixes: https://github.com/constructor/aurelia-cli-fixes - constructor/aurelia-cli-test

I have not forensically tested either but I find working with this version a great deal smoother, plus it builds without failing in the latest webpack.

The recommendation when searching the ‘Error: Path variable [contenthash] not implemented in this context’ was to use MiniCssExtractPlugin. So I added that. I also added a new entry in the launchSettings.json so that I could build a “ASPNETCORE\_ENVIRONMENT”: “Production” build easier. Another was to include ‘wwwroot\dist’ when cleaning the project.

I may look at this and test later.
