-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Copy assets with @angular-devkit/build-angular:server #24203
Comments
As a workaround you can also copy the assets using the browser builder ( |
Thanks. That works but it's a bit strange if the client and server are in different directories (managed by |
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list. You can find more details about the feature request process in our documentation. |
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes angular#24203
…ilder This commits adds the `assets` option to the server builder. This can be useful to copy server specific assets such as config files. Closes #24203
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Command
build
Description
@angular-devkit/build-angular:browser
has the ability to copy assets with theassets
array in the options.But
@angular-devkit/build-angular:server
doesn't have the ability.My use case is that we build the app with angular universal support, and we want to deploy both the client and server files together. We have some custom server files to be copied over (when building and serving). But since
@angular-devkit/build-angular:server
doesn't support that, we have to use some workarounds. The options we have currently are:Describe the solution you'd like
Add the
assets
support to@angular-devkit/build-angular:server
.Describe alternatives you've considered
The text was updated successfully, but these errors were encountered: