angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

--deploy-url will have no effect on the HTML

Open yordis opened this issue 9 years ago • 42 comments

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x ] feature request

Versions.

@angular/cli: 1.0.1 node: 8.0.0 os: darwin x64 @angular/animations: 4.1.3 @angular/common: 4.1.3 @angular/compiler: 4.1.3 @angular/core: 4.1.3 @angular/forms: 4.1.3 @angular/http: 4.1.3 @angular/material: 2.0.0-beta.6 @angular/platform-browser: 4.1.3 @angular/platform-browser-dynamic: 4.1.3 @angular/router: 4.1.3 @angular/cli: 1.0.1 @angular/compiler-cli: 4.1.3

Repro steps.

Related to https://github.com/angular/angular-cli/issues/4517#issuecomment-286252628

The log given by the failure.

Desired functionality.

The CLI transform the HTML as well

Mention any other details that might be useful.

I am using S3 on AWS this is kind of required for me unless I used CloudFront, I think.

yordis avatar Jun 13 '17 16:06 yordis

Also guys, someone tried this with angular-universal? If I use: --deploy-url /myPath/ I'm receiving these erros in node...

Unable to locate stylesheet: /var/www/html/dist/browser/**myPath**/styles.16d89a3cd69123f2ba9c.css

Also the url set to the assets seems to be wrong..

Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.

Did you manage to solve it? I have the same thing, it doesn't result in any app misbehaviour but it does bug me a bit.

maciejgunia avatar Aug 31 '21 17:08 maciejgunia

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.