mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
859ca504f8
Updates the platform-server integration test to rely on the v13 partial compilation packages. This involves setting up the Babel linker plugin. This is a great addition for coverage of the Babel linker plugin. PR Close #43431
17 lines
361 B
Bash
Executable File
17 lines
361 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
rm -rf built/ webpack-out/
|
|
|
|
ngc
|
|
|
|
# This is to mainly 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.mjs
|
|
|
|
# Bundle the clients into individual bundles.
|
|
webpack --config webpack.client.config.mjs
|