mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: create material-examples package (#4046)
This commit is contained in:
committed by
Jeremy Elbourn
parent
3545df7c4f
commit
abd2ac6489
@@ -39,7 +39,7 @@ OPTS=(
|
||||
|
||||
# List of path prefixes to be removed from ES6 & CommonJS modules.
|
||||
"--js_module_root=dist/packages"
|
||||
"--js_module_root=dist/release"
|
||||
"--js_module_root=dist/releases/material"
|
||||
"--js_module_root=node_modules/@angular/core"
|
||||
"--js_module_root=node_modules/@angular/common"
|
||||
"--js_module_root=node_modules/@angular/compiler"
|
||||
@@ -57,7 +57,7 @@ OPTS=(
|
||||
"--debug"
|
||||
|
||||
# Include the Material FESM bundle
|
||||
dist/release/@angular/material.js
|
||||
dist/releases/material/@angular/material.js
|
||||
|
||||
# Include all Angular FESM bundles.
|
||||
node_modules/@angular/core/@angular/core.js
|
||||
|
||||
@@ -8,7 +8,7 @@ set -e -o pipefail
|
||||
# Go to the project root directory
|
||||
cd $(dirname $0)/../..
|
||||
|
||||
buildDir="dist/release"
|
||||
buildDir="dist/releases/material"
|
||||
buildVersion=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json)
|
||||
|
||||
commitSha=$(git rev-parse --short HEAD)
|
||||
|
||||
Reference in New Issue
Block a user