There are several problems using assets in public folder.
I have an assets folder inside public to keep images and _scss files.
Why there is an duplicate folder created and why the scss are copied to dist.
How do I port my images then?
whatever is in the _public_ should be copied into your output path (_dist/_ by default). So you should be expecting _public/assets_ to be copied to _dist/assets_
if you wanted your images to be @ _dist/public/assets_ then you should put them @ _public/public/assets_
Yeah need to add some documentation about the public dir, this behaviour is a bit confusing.
Closed as obsolete due to #1455. Documentation about the public dir is still needed but being tracked in https://github.com/angular/angular-cli/issues/339
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._
Most helpful comment
Yeah need to add some documentation about the public dir, this behaviour is a bit confusing.