-
-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NetCore Webpack generates broken links in Prod builds #901
Comments
Hey @anwnqvis 👋 is this when using javascriptservices or not? |
Using aurelia-cli v1.2.3, I was able to resolve this issue by changing the production build script in package.json to:
Could/should the aurelia-cli be updated to use the .net core specific config file when generating a new .net core project? |
I don't use .net, but this sounds right. |
@3cp Frankly, I have looked into the generated skeleton for netcore for the first time today :)
I think it is better to take a closer look at the generated skeleton, and do some cleanup as well as the necessary upgarde. |
I'm submitting a bug report
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'.
Files should have baseUrl 'dist/' instead of '/'.
The text was updated successfully, but these errors were encountered: