aurelia / aurelia/cli

NetCore Webpack generates broken links in Prod builds

Open
#901 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
402
Forks
134
PR merge metrics
No merged PRs in 30d

Description

**I'm submitting a bug report**

* **Library Version:**
0.33.1

**Please tell us about your environment:**
* **Operating System:**
Windows 10

* **Node Version:**
8.10.0

* **NPM Version:**
6.1.0

* **Browser:**
all?

* **Language:**
TypeScript 2.8.1

* **Loader/bundler:**
Webpack

**Current behavior:**
Files loaded with file-loader get no prefix in path but they are put in 'dist'. This makes IIS look for them under the 'wwwroot' folder instead of 'wwwroot/dist'.

* **What is the expected behavior?**
Files should have baseUrl 'dist/' instead of '/'.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.