mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
102ed3b03c
Now it lives in our standard location for tests against npm packages PR Close #22810
16 lines
346 B
Bash
Executable File
16 lines
346 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
rm -rf built
|
|
|
|
ngc
|
|
|
|
# This is to mainlt copy the index.html to be packaged into the server.
|
|
cp -r src/* built/src
|
|
|
|
# Bundle the server which hosts all the server side apps.
|
|
webpack --config webpack.server.config.js
|
|
|
|
# Bundle the clients into individual bundles.
|
|
webpack --config webpack.client.config.js |